A rectangular garden is arranged with a sequence of flower beds, where each subsequent bed has a perimeter that is 10% greater than the previous one. If the first flower bed has a perimeter of 40 meters and the total perimeter of all flower beds is 488 meters, how many flower beds are there? Let's think step by step and output the final answer within \boxed{}.
user