SDK versions < 6.0.0
Inbox class is named Inbox.
Notifications status counters
To find out the number of notifications in the Inbox according to their status, this method is performed:
INInbox.getMessagesCount(success: { (counter) in
//DO SOMETHING
}) { (error) in
//LOG ERROR
}
[INInbox getMessagesCountWithSuccess:^(INInboxCounters * _Nonnull counters) {
//DO SOMETHING
} onError:^(INError * _Nonnull error) {
//LOG ERROR
}];