Julie has $115 saved up and earns $10 per hour for babysitting. If Julie has a total of of $335, how many hours did she work?