There is too much information I do not know:
-Gate peak current? Average current?
-What optoisolator: I will assume the rise and fall time is very fast and the output current is very large and it is a perfect isolator.
-What is the MOSFET Drain current? Assume 40 to 50A Driving a inductive load.
IRF3205 Gate turn on voltage "2 to 4V" but that is for 250uA. We need to look at gate voltage for 50A which is about 5.5V.
MOSFET is off and the gate voltage is zero.
Isolator turns on and the voltage goes from 0 to 12V in 0nS (perfect part).
There is a 100 ohm resistor from 12V to the gate at 0V. 120mA!
The 3450pF Gate capacitor charges up. (actual value is not important) Gate voltage increases up to 5.5V where the current is only 65mA!
Mow the MOSFET starts to turn on and drives 65mA into the gate through Miller effect. Gate voltage holds at 5.5V.
When the Drain drops to near 0V the Miller effect goes away and the Gate voltage starts up again. (simple 12V 100 ohm capacitor charge up)
MOSFET turn off is the reverse of that. (0V source, 100 ohms to gate at 12V) Miller effect and 5.5V. You can work it out.
So the max current is 12V 100 ohms 120mA. During turn on/off time the Miller effect and the Gate turn on voltage of 5.5 volts gets you a current of about 1/2 of the 120mA. That only tells you the peak current and the current during 'Miller time'.
If you want average currant:
During off or on time current =0.
One cycle = 10khz.
You will have to find the time to charge up from 0V to 5.5V + Time for turn on + 5.5V to 12V and the discharge time.
-You will be charging the Miller cap with only 65mA.