Harry was reading the Daily Prophet on the morning of his last day at the Dursleys' house and saw an article in which Rita was asked how she was able to complete the book within 4 weeks of Dumbledore's death. So Harry only spent 4 weeks back home after leaving Hogwarts.
My question is this, if the Order of the Phoenix was planning to keep Harry safe after the charm broke, why didn't they just send Harry directly to a safe house from Hogwarts and give it protection? They knew that Voldemort would attack them when they moved Harry after the charm broke.