Adds alternative implementation of the Johnson counter.