CRM-13275 fix stats to show total count by currency & grand total

Conflicts:

	packages