The following answer is based upon the Goulden-Jackson Cluster Method. We consider the set of words of length $n\geq 0$ built from an alphabet $$\mathcal{V}=\{a,b,c,d,e\}$$ and the set $B=\{abd,de\}$ of bad words, which are not allowed to be part of the words we are looking for. We derive a generating function $f(s)$ with the coefficient of $s^n$ being the number of wanted words of length $n$.
According to the paper (p.7) the generating function $f(s)$ is
\begin{align*}
f(s)=\frac{1}{1-ds-\text{weight}(\mathcal{C})}\tag{1}
\end{align*}
with $d=|\mathcal{V}|=5$, the size of the alphabet and $\mathcal{C}$ is the weight-numerator of bad words with
\begin{align*}
\text{weight}(\mathcal{C})=\text{weight}(\mathcal{C}[abd])+\text{weight}(\mathcal{C}[de])\tag{2}
\end{align*}
We calculate according to the paper
\begin{align*}
\text{weight}(\mathcal{C}[abd])&=-s^3\\
\text{weight}(\mathcal{C}[de])&=-s^2-s\cdot\text{weight}(\mathcal{C}[abd])\tag{3}\\
\end{align*}
so that
\begin{align*}
\text{weight}(\mathcal{C})=-s^3+\left(-s^2-s\cdot\left(-s^3\right)\right)=-s^2-s^3+s^4
\end{align*}
The additional term on the right-hand side of (3) takes account of the overlapping of $ab\color{blue}{d}$ with $\color{blue}{d}e$.
We obtain according to (1) and (3)
\begin{align*}
f(s)&=\frac{1}{1-ds-\text{weight}(\mathcal{C})}\\
&=\frac{1}{1-5s+s^2+s^3-s^4}\\
&=1 + 5 s + 24 s^2 + 114 s^3 + 542 s^4 + 2577 s^5\\
&\qquad + 12\,253 s^6 + \color{blue}{58\,260} s^7 + 277\,012 s^8 + 1\,317\,124 s^9 +\cdots
\end{align*}
where the last line was calculated with the help of Wolfram Alpha.
Result: The blue marked coefficient of $s^{7}$ shows there are $\color{blue}{58\,260}$ words of length $7$ over the alphabet $\mathcal{V}$ which do not contain $abd$ or $de$.