added getTotal() to DBIncomeRepository.java