# DocCountOnly

Set `DocCountOnly` to `True` to return only the hit count (the total number of available results) in the category query. In this case, the action does not return result documents.

Set `DocCountOnly` to `False`, to return the number of result documents specified in NumResults. If you set TotalResults to `True` it also returns the total number of available results.

NOTE: For `DocCountOnly` to return hit counts, you must set the StoreDocCounts configuration parameter must be set to `True` in the `[Category]` section of the IDOL Category Component configuration file.

Actions: | CategoryQuery
Type: | Boolean
Default: | False
Example: | `DocCountOnly=True`
See Also: | TotalResults StoreDocCounts configuration parameter

_FT_HTML5_bannerTitle.htm