Faceted search is useful to do count(*) feature, please see below examples for your reference:
Count(*) by Specified Field
When browsing this page : http://localhost:8983/solr/films/browse , you may find Facets field on the left handset as:
With below example, it will return you a list of genres with article counts, so that you can show on your application.
You can also use this one returning list of directed_by with article counts.
With Date Range
Facets search can be bounded by date range like:
With Integer Range
Besides Date range facets, it can be bounded by integer range like: