add support for number metrics