A bakery measures the amount of flour they use each day in fractions of a bag. The amounts for one week were recorded as follows in a line plot: 1/2, 1/4, 1/2, 1/2, 1/4, 1/4, and 1/4 bag of flour. How many bags of flour did the bakery use in total during that week?