UPSC mains has nine papers in total.
Seven of them — Essay, four General Studies papers and two optional subject papers — count for merit.
The remaining two — one Indian language paper and English — are qualifying only.
You must secure the minimum qualifying marks in the language papers.
The final rank is based on the seven merit papers plus the interview.