14.06.2015, 15:58
cache_get_row_count is only used when loading from mysql. In this case you'd use MAX_HOUSES but a variable that gets assigned with the rows returned on loading would be even better (you'd have to increase by one when a house is created and decrease when a house is removed).

