Find Number of times a server has restarted using promethus Query in grafana

Hi

I have metrics with labels like this

Server name | time | status
Server1 | 00:00 | UP
Server1 | 00.01 | DOWN
Server1 | 00:02 | UP

I want to show how many times the server 1 has been restarted from time 00:00 to 00:02,

Is this possible in grafana?

Thanks