What is the MySQL command to retrieve the count of records in a table?
Simply:
SELECT COUNT(*) FROM `tablename`