The pill should be 99.-% accurate. So your chances of getting pregnant should be very low. If you are taking it like you should and around the same time everyday and you are not taking antibiotics (antibiotics can make your pill not work).
Even though be pulled out, i am sure he has some pre-*** while inside of you and you can fall pregnant with such little.
the amount of time he mastrubates before intercourse, makes no difference to the amount of sperm. Everytime a man ejaculates there is sperm, so yes, you can fall pregnant even though he has mstrubated.
Regarding the urination, this also mean nothing, and does not effect his sperm count.
Even though you are on the pill, those are not 100% effective, and there is still a chance of pregnancy, eventhough very slit chance.
It also depends on how good you are at taking your pill, i.e.: same time every day and not missing even one. Missing 1 pill can cause a distruption in your cycle, and could cause a window oppertunity for pregnancy.
Next time, rather be safe and use a condom, for extra protection,
Good luck