Given the following table where the Name value might be repeated in multiple rows:

How can we determine how many times a Name value exists in the table and can we filter on names that have a specific number of occurrances.
For instance, how can I filter this table to show only names that appear twice?
 
                        
You can use
group byandhavingto exhibitnames that appear twice in the table:Then if you want the overall count of names that appear twice, you can add another level of aggregation: