N-Bit counter module