Add basic stm stats.
Fix stats formatting and failed wakeup count.