Syntax:
COUNT(DISTINCT expr,[expr...])

Returns a count of the number of rows with different non-NULL expr
values.

If there are no matching rows, COUNT(DISTINCT) returns 0.

URL: http://dev.mysql.com/doc/refman/5.5/en/group-by-functions.html

