1 2 3 4 5
int count = 0; if (strcmp("",psz) < 0) count++; for (int i = 0; (psz[i] != '\0') && (i < strlen(psz)-1); i++) if (isspace(psz[i]) && isalnum(psz[i+1])) count++;