select count(*) from wf_workflows where workflow_key = :workflow_key