Jonathan Rea picked up his 17th race win of the season to ensure he ended 2019 with more wins than any other rider.