Merge `RollupTypeCacher` functions into `IncomingMetricMetadataAnalyzer`.
Merge pull request #228 from gdusbabek/merge_type_helpers

Merge `RollupTypeCacher` functions into `IncomingMetricMetadataAnalyzer`