total count and amount