updated with new wcount cmd