John is planning his monthly budget and has allocated $100 for groceries. He plans to spend $10 on the first day and double his spending each subsequent day until his budget is exhausted. How many days will it take for John to spend his entire grocery budget? Let's think step by step and output the final answer within \boxed{}.
user