This is what the code looks like now.
I will mess around with the code more and try what tapstop suggested.
int main(int argc, char* argv)
int count =0;
cin >> sentence[counter];
for (int i=0; i<counter;i++)
cout << sentence[i]; //
cout << counter << endl; // just to double check it reads correctly
for (int j=0; j<counter;j++) // counter = number of char in sentence string
if (sentence[j] == argv) // here is the issue
cout << "Count of " << argv << ": " << endl;