Gets the number of elements contained in the collection.

<void> Collection.getCount(<RequestNumberCallback> callback, [<ErrorCallback> errorCallback])

Parameters

Parameter Description
callback Receives the result as a parameter.
errorCallback Optional. Is called when the operation failed with an error.