change children_indices for children_count in schema representation