The mathematician and broadcaster star feels 'lucky' for the lessons she's learned, 'as awful as that was.'