Use the code in this tip to find the total number of tables in an MS Access database.

Source