Martin is planting a hedge along the back of his yard. The total length can be no more than 23 ft, and he will put a 4-foot-wide gate in the hedge. Each plant needs 2.5 feet of space to grow properly. How many plants should he buy?