Let $R$ be the rectangle on the Cartesian plane with vertices $(0,0)$, $(5,0)$, $(5,7)$, and $(0,7)$. Find the number of squares with sides parallel to the axes and vertices that are lattice points that lie within the region bounded by $R$.

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