Your total unread voicemails counts can be found using this API (/api/v2/voicemail/groups/{groupId}/mailbox). Input your groupID, and you'll get a response with unreadCount.
Your response should look something like this:
{
"usageSizeBytes": 0,
"totalCount": 0,
"unreadCount": 0,
"deletedCount": 0 }
------------------------------
Vishwa Mudigonda
Genesys - Employees
------------------------------