Use API to fetch the unread counts