A survey was conducted to determine sports team preferences. Some people had baseball, football, or basketball as their favorite, or a combination of these. Given the information, how many people were surveyed in total?
a. 45
b. 56
c. 38
d. 29