The 3-phase sketch does not include the pulse counting logic. It might be possible to include it, if that was done, it would be necessary to check that it did not unduly affect the timing of the main monitoring system.