added mothod for counting pokemons