basic totals reporting on the API