The count constraints actually don't make sense to use with `allow` or `allow_any_instance_of` at all -- I'd use `expect_any_instance_of` instead here