The sample data source format is as follows. Now we need to count the number of people with uid in each group:
By default when using a pivot table, you can only select "Count" to get the number of rows for each group, and the uid is not deduplicated;