Added proper support for counter/derive/absolute datatypes, by taking the derivative. Removed debug logging.