Frequently I have to use a pivot table to count first column unrepeated elements. Is there a function to do this?