Added RangeCounter. Quit using separate implementation files.