Made all cycle counters int64_t.

Also reduced the status of most functions in CommandAnalysis.cc from public to private, and made 3 variables local to a function instead of them being a member variable.