Implements api wrapper to get the list of unread counts