Kaleb already had 10 pieces of candy. His friend gave him 9 more and then Kaleb bought another 11. How many pieces does Kaleb have now?