Kapila had 3 balls in his house and his friend gave him 3. How many balls does Kapila have?