The factory originally thought they produced 71 candies in the first hour. However, after a recount, they realize they only produced 47 candies in the first hour. They continue to produce an additional 21 candies in the next hour. How many candies did they produce in total over the two hours, given the revised count for the first hour?