by counting out-of-lock events of a PLL