ISPN-4992 Implement node statistics

Master only. Tristan should review
Have a look now @tristantarrant