Barry bought some apples, oranges and pears. The apples are sold at 4 apples for $10. The price of oranges is 25% cheaper than that of apples. The pears are sold at 2 pears for $4.20. Barry spent $30 on some apples, $15 on some oranges and $8.40 on some pears. How many fruits did Barry buy altogether?