Do not print out the number of the pulses into the JSON. I wish Arduino IDE would save automatically on compile...