add count_workers options to count number of workers, set False to default
Merge pull request #408 from huoxy/add-count-workers-support

add count_workers options to count number of workers