Have you thought of issuing a query against the information_schema database and in particular the TABLES table. This contains all the tables in every database and also includes a field called TABLE_ROWS. For InnoDB this is an approximation rather than an exact number but for MyISAM this appears to be exact.
Hence, you could simply write the following (assuming you have admin access):
Code:
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = '<database name>'
AND TABLE_ROWS <= 4;