aws swf count-pending-decision-tasks
Returns the estimated number of decision tasks in the specified task list. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--domainThe name of the domain that contains the task list.--task-listThe name of the task list.