Use listDatabases to get the totalSize of databases on disk for selecting the best shard to place the primary when enabling sharding on a new database.