first round of bug fixes for simple get counts, but it isn't done yet. I am going to have to dialog box as cin does not seem to be working