Count pulses on my xbee pro s2c using xbee python library

Hello everyone,

Is it possible to make a pulse counter using the xbee python library? I do have a hall sensor coupled to a remote xbee pro s2c, and I need to count the pulses per minute as the water passes through it. The coordinator could capture the pulses and the code make the count and print for me the value in the PC. Any idea of the code that I need to use?