[mysql] MySQL: Fastest way to count number of rows

EXPLAIN SELECT id FROM .... did the trick for me. and I could see the number of rows under rows column of the result.