Bug Report #3917 CountTables seems broken phpMyAdmin

I added a new query in Node class when fetching all DB data so that if countTables config is made, the query will also fetch the number of tables.
Please review it.