SPARK-3179. Add task OutputMetrics.

Do you anticipate adding other things here later (like time blocked on writing output data)?  Or should this just be a long inside the metrics class (rather than having those whole output metrics class)?