New 'derives' functionality added

This update adds a derives type to statds to allow the creation of counters based on N/second but given counts that are always increasing.