unique count fix