refactoring total method on Estimate model