No, screen sharing does not count against the total number of people you can have on screen or backstage in your StreamYard studio.
For a full breakdown on how many people you are able to have on screen/backstage in your studio, take a look at our help article here.
Updated