Contextual information about the hook.
The count to return to count()
instead of the original count. Returning a rejected promise will not block the operation, but will return a rejected promise to the caller as well as trigger the onFailure()
hook.
The number of items the count operation has found.