Jimmy has studied 22 hours over the last 10 days for the ACT. He studied either 2 hours a day or 3 hours a day. During the 10 day period, how many days did Jimmy study for three hours a day?