Given a string date representing a Gregorian calendar date formatted as YYYY-MM-DD, return the day number of the year_.