Let the number of crabs be \( 2x \) and the number of fish be \( 7x \). The total number of creatures is given by the equation:
\[ 2x + 7x = 36 \]
This simplifies to:
\[ 9x = 36 \]
Now, solve for \( x \):
\[ x = \frac{36}{9} = 4 \]
Now, calculate the number of crabs:
\[ 2x = 2 \times 4 = 8 \]
Thus, the number of crabs is \( \boxed{8} \).