ISPN-4992 Implement node statistics

Master only. Tristan should review
True, I'll do that. Thanks @tristantarrant