Added unread_counts function to replace get_unread_count function
Replaced unread count call with new unread counts call
Replaced unread count call with new unread counts call
Removed a print_object and changed unread counts call to use cache