converted worker count to oneliner.