For purposes of computing eligibility for, and entitlements to, general purpose funding and operational funding for categorical programs, the enrollment and average daily attendance of a sponsoring local educational agency shall exclude the enrollment and attendance of pupils in its charter schools funded pursuant to this chapter.