Added Statistics for TimeSeries data.

Review: https://reviews.apache.org/r/20047