From engineering to accounting to analyst careers, people who like working with number often have lucrative salaries in the Silicon Valley and beyond.