different ways to count numbers - Search