score:3
Flights from Dubai to Rajkot on Air India are not 'direct', which means you will exit the plane in Mumbai as usual, enter India/get your passport stamp, and then proceed to wait for the departure of your second flight.
So the answer is that you will get your stamp in Mumbai.