**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

Info getInfo(bool get_thread_list = false, bool get_profile_events = false, bool get_settings = false) const;
    
    UserInfo getUserInfo(bool get_profile_events = false) const;
    void setMaxSize(size_t max_size_)
    {
        std::lock_guard lock(mutex);
        max_size = max_size_;
    }
    void setMaxInsertQueriesAmount(size_t max_insert_queries_amount_)
    {
        std::lock_guard lock(mutex);
        max_insert_queries_amount = max_insert_queries_amount_;
    }
    void setMaxSelectQueriesAmount(size_t max_select_queries_amount_)
    {
        std::lock_guard lock(mutex);
        max_select_queries_amount = max_select_queries_amount_;
    }
    
    CancellationCode sendCancelToQuery(const String & current_query_id, const String & current_user, bool kill = false);
    void killAllQueries();
};
}