Attempting as many mock tests helps you identify your weaknesses and strengths.
But a good number of mock tests to be attended is 30-40.