Almost all OS for computer and smartphone are large, complicated programs. Who knows if Windows 10 harvests or doesn't harvest info in some way? Even Ubuntu has grown to gigantic size, and is constantly being upgraded almost on a daily basis. Mac OSX is gigantic, as well.
The Ubuntu source code is available to everyone, right? So I don't think that they will be harvesting the user data. Also, Ubuntu doesn't have the corporate structure of ownership like Windows or Mac OS does. That is why I prefer Ubuntu to keep my data away from the prying eyes of the authorities, when compared to Mac OS and MS Windows.