start working on subcategory count histogram stuff (illegal instruction!)