Added function to count cats at start and pass along