Add getNbUnreadThreads method