new feature: --total-count option
be tiny scope
fixed indent