Returns the number of times a value occurs in a bag.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Foundation
The bag to examine.
The value for which to find matches in
the. The equal callback provided when
thewas created is used to compare. If the equal callback was
NULL, pointer equality (in C, ==) is used. If
value, or any other value in
the, is not understood by the equal callback, the behavior is undefined.
The number of times
value occurs in