Add support for Long metric

Add support for Long metric