For example, when the input signal 204 comprises a series of pulses and there are pulses associated with at least two levels during a given time period, the comparator 214 may simply subtract the number of pulses associated with one level from the number of pulses associated with another level or other levels.