Issue #15. Branch Iss15. Step twenty two: Provided get_totals function in CheckOperations module.