Brilliant can be a helpful resource:
A Stirling number of the second kind, denoted as $S(n,r)$ or $\left\{n \atop r\right\}$ is the number of ways a set of $n$ elements can be partitioned into $r$ non-empty sets. In this case, you can use the power of the recurrence relation, which allows one to calculate any value of $S(n,r)$ from other values of $S(n,r)$.
So, here is a list of $S(n,r)$ for $n \leq 7$:
\begin{array}{c|lcr}
\small{n} \ ^{\large{r}} & 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7\\ \hline
0 & 1 & & & & & & &\\
1 & 0 & 1 & & & & & \\
2 & 0 & 1 & 1 & & & & \\
3 & 0 & 1 & 3& 1& & & &\\
4 & 0 & 1 & 7 & 6& 1 & &\\
5 & 0 & 1 & 15 & 25& 10 & 1& & \\
6 & 0 & 1 & 31 & 90& 65 & 15 & 1& & \\
7 & 0 & 1 & 63 & 301 & \color{red}{350} & 140 & 21& 1 & \\
\end{array}
Note that $S(7,4)=\boxed{350}$.