check that the sql schema is correctly imported (count the tables, index and constraints in the database)