Counter refactoring in ViewExpense