In real numbers, find the number of distinct pairs \((x,y)\) that satisfy the system of equations:
\[ x^2 = 4y + 1 \]
and
\[ y^2 = x^3 + 1 \]

Let's think step by step and output the final answer within \boxed{}.
user