Pour the Water

You have a four-ounce glass and a nine-ounce glass. You have an endless supply of water. You can fill or dump either glass. It turns out that it’s possible to measure six ounces of water using just these two glasses. What’s the fewest number of steps in which you can measure six ounces?