I am trying to get a total count of the results using Views. Looking at this link, Count results in Views using aggregation, I use aggregation, but Views counts each row as 1. For example, this is what I get:

TITLE         Results
"A title"     1
"A title2"    1
"A title3"    1

I want it to be

"A title"
"A title2"
"A title3"

Results: 3

Any way to do this in Views? If not, is there a way I can weak the current Views SQL or its output instead of having to write my own module and SQL query from scratch?

1 Answer 1


Add a Global: Result summary field to the footer. There is no need to turn on aggregation.

  • 1
    I think you mean Global: Result summary not "Global: results" in list of things offered in Footer. So, in the View edit screen, select 'Add Footer' (middle column of the settings) then choose Global: Result summary And then choose from the various @ prefixed variables regarding what you'd like to display. Commented Apr 1, 2014 at 9:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.