Is there a function?

Is there are function to know How many times did the light on?

More details required.

I want if light up five times to send an email to me. I want a function or a way to know how many times on

Blynk provides the tools but you have to build the projects.

I really make project in blynk
How can know the number of times it was on ?

Search Google for “C++ counter”.