areas: count active, completed,r refactoring