Freddie put an empty bucket underneath a leaking pipe. After 34 hours, Freddie collected 12 cups of water. What is the rate, in cups per hour, at which the water is leaking from the pipe?