mod 5 synchronous counter