**Describe what's wrong**
Query metric doesn't calculate anymore
```sql
SELECT * FROM system.metrics WHERE metric='Query'
```
always return value=0 

```sql
SELECT event_time, CurrentMetrics_Query FROM system.metric_log WHERE CurrentMetrics_Query>0
```
always return 0 rows

I check these queries during run following script in separate terminal
```bash
clickhouse-client -q "SELECT sleepEachRow(1),now() FROM numbers(60)"
```

**Does it reproduce on recent release?**
Yes it reproduce on 22.1 and 21.12
And doesn't reproduce on 21.11

void addPipelineExecutor(PipelineExecutor * e);
    
    void removePipelineExecutor(PipelineExecutor * e);
    
    bool checkTimeLimit();
    
    [[nodiscard]] bool checkTimeLimitSoft();
};
struct ProcessListForUserInfo
{
    Int64 memory_usage;
    Int64 peak_memory_usage;
    
    std::shared_ptr<ProfileEvents::Counters::Snapshot> profile_counters;
};
struct ProcessListForUser
{
    ProcessListForUser();
    
    using QueryToElement = std::unordered_map<String, QueryStatus *>;
    QueryToElement queries;
    ProfileEvents::Counters user_performance_counters{VariableContext::User, &ProfileEvents::global_counters};
    
    MemoryTracker user_memory_tracker{VariableContext::User};