Hi Amanda,
Can you please clarify what you mean when you say "add a new field to this role which shows how many roles are needed"?
Do you mean you want to show a count on the Opportunity form of how many roles have been linked to the Opportunity so that each time a role is added it increments by one?
OR,
Do you want to specify how many roles can be added and somehow limit this?
OR,
On the Role do you want to specify a number that indicates how many people of that specific role are needed for the Opportunity?