how many laps have a grid smaller than 5, and a time/retired of retirement?
17.0