getNumOfPendingMessages
implement getNumOfPendingMessages
unit test fixed
Merge pull request #84 from metacret/ISSUE-82

getNumOfPendingMesasges