After school, Marcy can start walking dogs by 3:15pm. She wants to be done walking the dogs by 6:00pm so she can get home in time for dinner. If she schedules each dog walk for a half hour and then allows herself fifteen minutes between each walk to get to the next house, how many dogs can she walk before dinnertime?