A clear case of this mismatch is compound words, which count as two words phonologically, but one in the syntax.
A clear instance of this discrepancy is compound words, which are counted as two words phonologically but considered one in syntax.