How to count the number of unique rows (combinations of …

Source: www.extendoffice.com