added count option