ISPN-4992 Implement node statistics

Master only. Tristan should review
The test would be more meaningful if you used multiple caches.