use countPets also for stats, fix #1898