Added code to support getting applications per day