Help to Calculate CH Cycles

Hi!

I have a Bosch combi boiler that is connected to HA using home-assistant-bosch-custom-component.
The sensor i want to use is , i think, a numeric sensor, see below screenshot
image

What i want to do is to be able to see the number of cycles per min/hour/day and how long this cycles take.
What is the best way to do this?

Thanks