# File lib/aws/simple_workflow/workflow_execution_collection.rb, line 470 def count options = {} open_or_closed, client_opts = handle_options(options) client_method = "count_#{open_or_closed}_workflow_executions""count_#{open_or_closed}_workflow_executions" response = client.send(client_method, client_opts) Count.new(response.data['count'], response.data['truncated']) end