fixed bug where raw counts couldn't be compared