What is the greatest possible sum of the digits in the base-seven representation of a positive integer less than $2019$?