Added new CountDistinct(rangeRef,bool) to the library.