### Describe the bug Queries with a nested count (`select count(*) from (select count(*) from (select 1));`) fail with ``` Optimizer rule 'optimize_projections' failed caused by Error during planning: Aggregate requires at least one grouping or aggregate expression ``` ### To Reproduce _No response_ ### Expected behavior Should return the number of rows (1) ### Additional context _No response_
Activity