unique and intra counts fix