COUNT(*) returns the number of items in a group. This includes NULL values and duplicates.
Does COUNT include nulls?
COUNT(*) returns the number of items in a group. This includes NULL values and duplicates.
Does COUNT in MySQL COUNT NULL?
Introduction to MySQL count() The MySQL COUNT() function provides a number of records in the result set from a table when an SQL SELECT statement is executed. This function does not count the NULL values.