editor updates cell type counts on load