missing cast to long long in metrics
Merge pull request #422 from prymitive/metrics_cast

missing cast to long long in metrics