countPushNotifications
Count the number of push notifications.
Return
The count of push notifications.
Parameters
credentialId
Optional ID of a specific credential to count notifications for.
Throws
if the count cannot be retrieved.