Mary has yards of ribbon. For an art project, she cuts of the total ribbon into pieces of equal length. If each piece is of a yard long, how many pieces of ribbon does Mary make?