Use approximate counts for large tables in counter

Fixes #24.

EXPLAIN gives a rows() approximate (based on a key) when doing COUNT(*). We can
use this to give a very approximate but quick count for large tables in MySQL.
Tables below 1,000,000 rows will still be counted exactly.