Diego bought 4 boxes of cookies to thank his coaches at the end of the season. Each box had the same number of cookies. A friend brought 1 cookie to add to each box. Now there were 28 cookies in all. What is the unknown amount in the story?