As written this would retrieve no records, since it would display only those records where the count is <12 and at the same time is between 12 and 30, and also between 30 and 60; criteria on the same row are "anded" together, so that all must be true for the record to be displayed.
If you want to use Partition() - or perhaps simpler in this case Switch() - in a query you would need to add it as a calculated field in the Field row of the query grid, or put it in the Select clause of a SQL query. You may be able to get what you want with something like
SELECT Switch([AgentTime]< 12, "Under 12", [AgentTime] <= 30, "Between 12 and 30", [AgentTime] <= 60, "Between 30 and 60", True, "Over 60") AS AgentTimeBlock, Count(*) FROM yourtable WHERE [Date] BETWEEN #8/6/2013# AND #9/5/2013# GROUP BY Switch([AgentTime]< 12, "Under 12", [AgentTime] <= 30, "Between 12 and 30", [AgentTime] <= 60, "Between 30 and 60", True, "Over 60");