Code to count up how many possible sentences.