pub fn restart_count() -> usize
Gets the number of crash restarts in the app-process.
Always returns zero if called in other processes.