Find the number of pairs $(m,n)$ of positive integers with $1\le m<n\le 30$ such that there exists a real number $x$ satisfying 
$$\sin(mx)+\sin(nx)=2.$$

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