diff --git a/earthaccess/api.py b/earthaccess/api.py index 741f06cc..992cb357 100644 --- a/earthaccess/api.py +++ b/earthaccess/api.py @@ -126,8 +126,8 @@ def search_data(count: int = -1, **kwargs: Any) -> DataGranules: else: results = DataGranules().parameters(**kwargs) + logger.info(f"Granules found: {results.hits()}") results.load(count) - logger.info(f"Granules found: {len(results)}") return results