Thank you for your query.
Please note that time spent whilst your Judicial Review application was pending does NOT count as lawful residence under Section 3c of the Immigration Act 1971. To apply for ILR, you must show that you have completed 10 years lawful residence.
Thank you for your query. Please do not forget to rate my answer.