Add some codes for waiting minutes counts