[FLINK-1151] Adds statistics for collection data sources based on collection size and serializer info.
Adds getMinimumLength() to TypeSerializer to get a lower bound for size estimations.