Number of Samples and Wavelengths Required for the Training Set in Near-Infrared Reflectance Spectroscopy