Count change, 1st iteration. Func refactoring