Two-phase measurement using arduino

The way you are using that device will give you output pulses 2X the line frequency.
Paul