Each grape at the supermarket weighs 5 grams. If Eric buys a bag of grapes that weighs 50 grams, how many grapes did he buy?​