Mary had 5 apples in her bag and her mother gave her 4 more apples. How many apples does Mary have?