Fix COUNT(*) in information_schema and sys tables