Fixed getLoadingDatasetsCount