2.2.6 方法getNumberWaiting()和getParties()