Sarah counted her pillows and found out that she has a total of 6 pillows. If she recalls correctly, 4 of them are stuffed with feathers and the rest are stuffed with foam. How many of her pillows are stuffed with foam?