DOCS-3064 agg + sharded collections and project optimization