The distinctive count used on a chart or indicator in ArcGIS Dashboards is not respected when it is shared with the public and the map is set as the source of action.
This is non-reproducible when tested with the ArcGIS Online June 2023 release. If experiencing the described behavior, reach out to Esri Support Services as a new reproduction case is needed for continued investigation.