Is there a way to count how many unique records are in a list where another columns meet a certain crieria

thnx as always