Fix the two words that are used incorrectly.

After determining the amount of people she wanted to invite to her party Rita went to the stationary store to buy invitations.

After determining the number of people she wanted to invite to her party, Rita went to the stationery store to buy invitations.