Question : How long do most people stay in Osaka?
Answer : Of course you're not most people, but if you were, you'd stay roughly 16 days.
Question : If your plans are flexible, have you considered changing your departure day?
Answer : In June, Friday is your lowest-cost day to fly. Having flexibility in your travel plans means you can save more, so be sure to plan ahead when possible.