Fix AggregateCounter shell command option handling