error checking
TODO: fix error msg, newlines, flags for overall counts and per course counts, per course count implementation