All parallelograms have two pairs of parallel sides. If all squares are parallelograms, how many pairs of parallel sides does a square have?