Assuming list is in A1:A8 try:

=SUMPRODUCT((A1:A8<>"")/COUNTIF(A1:A8,A1:A8&""))