Avoid counting lsp1 for substrings which occur only once