simple impl of groupCount
drop orderMap step (can be done outside pipeline)
simplify BackStepTest
optional step - not sure if that works...
memoize (no test)