changes the variable in the console to print out the number of stings