Count Number of Ways to Place Houses