timerWithMethod method in MetricsDirectiveFactory

Added ```timerWithMethod``` method to ```MetricsDirectiveFactory```, works exactly same as ```counterWithMethod```.