A new data system that counts students and calculates how much money each school receives for them began running on July 28 to replace a dysfunctional system that education leaders said was wasting millions of dollars.