Inconsistent nbHits after using distinct>1

When setting the distinct option to a value higher than 1. We observe that the facet counts are correct, but the nbHits that is attached to the searchResults does not match the actual hit count. In the docs, the following is noted regarding the nbHits when distinct is configured.

The nbHits attribute in the response contains the number of groups.

For example, I have a product that has 2 variants, and the filters return this product. The facet count shows 2 but the nbHits shows only 1.

My question is, how do I get the count of the total number of hits that are returned?