Updates to support anomaly detection in Heka

- return the number of numeric rows in a compute call
- add current_time call so the plugin doesn't need to store/manange its own copy