Count documents in a view

I’d like a column in a view to display the total number of documents. By category, or in the entire view. I know how to do totals to add up numerical data, but is it possible to just display a count of documents ?

Subject: 1

Just create a column with a 1 in it and add it

Subject: Durr

What a dimwit I really am.

Thanks.