• the query provided by you is not showing database count, it can be used for table count, how we can get the database count in the sql server? is there any way?