Luminosity measurement in proton-proton collisions at 5.02 TeV in 2017 at CMS