outputs number of unique entries