testGetNumberOfTransaction: red