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

{
public:
    using Element = QueryStatus;
    using Entry = ProcessListEntry;
    using QueryAmount = UInt64;
    
    using Container = std::list<Element>;
    using Info = std::vector<QueryStatusInfo>;
    using UserInfo = std::unordered_map<String, ProcessListForUserInfo>;
    
    using UserToQueries = std::unordered_map<String, ProcessListForUser>;
    using QueryKindAmounts = std::unordered_map<IAST::QueryKind, QueryAmount>;
protected:
    friend class ProcessListEntry;
    mutable std::mutex mutex;
    mutable std::condition_variable have_space;