having the total of appointments at the top so we don't have every time to count one by one like the example in Red Cap