int bound = argOptions.getIntOption('b', 10000);
Transform transform = argOptions.getObjectOption(
'T', new NoTransform());
DependencyPathAcceptor acceptor = argOptions.getObjectOption(
'a', new UniversalPathAcceptor());
DependencyPathWeight weighter = argOptions.getObjectOption(
'w', new FlatPathWeight());
int pathLength = argOptions.getIntOption('l', 5);
return new OccurrenceCounter(
transform, bound, acceptor, weighter, pathLength);