Continuing a five-year trend, a record number of New York City students applied to charter schools for the coming academic year, according to a survey released Wednesday by a nonprofit group that supports charters.