pulse counteri

you don't have an idea on how to do this program?