More than a quarter of a million people rallied nationwide to support school students demanding more education funding, according to government figures, with thousands of arrests.