Your favorite restaurant offers a total of 13 desserts, of which 11 have ice cream as a main ingredient and 9 have fruit as a main ingredient. Assuming that all of them have either ice cream or fruit or both as a main ingredient, how many have both?