Step 1: Observe that every rectangle in the figure is a square (possibly tilted). There is one outer square (axis-aligned). Inside, the two families of diagonal lines (\(/\) and \(\backslash\)) form a lattice of tilted squares (diamonds).
Step 2: Count tilted squares:
\begin{itemize}
\item \(1\) large central diamond.
\item \(4\) medium diamonds adjacent to the central one (top, right, bottom, left).
\item \(4\) small corner diamonds formed near the vertices of the outer square.
\end{itemize}
Step 3: Adding the axis-aligned outer square gives the total number of rectangles:
\[
1\ (\text{outer}) + 1\ (\text{central}) + 4\ (\text{medium}) + 4\ (\text{small}) = 10.
\]
Hence, the figure contains \(\boxed{10}\) rectangles.