mongo count fix