statistics: get rid of simple stats, start porting shm stats