bug: quality assessment needs frequence count