Snickers sells pastry flour. She fills orders by using a balance and a set of $9$ rocks to weigh the bags. Each rock weighs an integer number of pounds, and all of the rocks have distinct weights.
By placing some subset of the rocks on one side of the balance, Snickers can measure any integer weight between $1$ and $500$ pounds, inclusive. How many distinct sets of rocks could she have?