Adding a counter cache to the listings model.