Are you sure you want to delete all the instances for the worklist definition = $definition->name ?>? - There are currently = count($definition->worklists) ?> instances that have been generated.
+ There are currently = $definition->getWorklistCount() ?> instances that have been generated.