View statistics for databases and collections