total count fix