(you don't have to strictly follow this form)

**Describe the unexpected behaviour**
We are seeing errors like 
```
Received exception from server (version 22.10.2):
Code: 10. DB::Exception: Received from localhost:9000. DB::Exception: Not found column count() in block. There are only columns: COUNT(): While executing Remote. (NOT_FOUND_COLUMN_IN_BLOCK)
```

when trying to use **s3Cluster** function to query data using queries like: ```SELECT COUNT(*) FROM s3Cluster('cluster', 'https://...', ...)```

However **s3** function works fine.
 
* Which ClickHouse server version to use
22.11 and 22.10 are seeing this issue. 

**Expected behavior**
Expected s3Cluster function runs successfully.  

**Error message and/or stacktrace**
See description. 

**Additional context**
N/A
const bool add_agg_info = processed_stage == QueryProcessingStage::WithMergeableState;
    ASTPtr query_to_send = query_info.original_query->clone();
    if (add_columns_structure_to_query)
        addColumnsStructureToQueryWithClusterEngine(
            query_to_send, StorageDictionary::generateNamesAndTypesDescription(storage_snapshot->metadata->getColumns().getAll()), 5, getName());
    const auto & current_settings = context->getSettingsRef();
    auto timeouts = ConnectionTimeouts::getTCPTimeoutsWithFailover(current_settings);
    for (const auto & shard_info : cluster->getShardsInfo())
    {
        auto try_results = shard_info.pool->getMany(timeouts, &current_settings, PoolMode::GET_MANY);
        for (auto & try_result : try_results)
        {
            auto remote_query_executor = std::make_shared<RemoteQueryExecutor>(
                    shard_info.pool,
                    std::vector<IConnectionPool::Entry>{try_result},
                    queryToString(query_to_send),
                    header,
                    context,
                    nullptr,
                    scalars,
                    Tables(),
                    processed_stage,
                    RemoteQueryExecutor::Extension{.task_iterator = callback});
            pipes.emplace_back(std::make_shared<RemoteSource>(remote_query_executor, add_agg_info, false));
        }
    }
    storage_snapshot->check(column_names);
    return Pipe::unitePipes(std::move(pipes));
}
QueryProcessingStage::Enum StorageS3Cluster::getQueryProcessingStage(