fix some syntax/usage errors in templates
make wait condition Count reflect GroupMinSize