i think my previous post is enough for your question, i also mentioned answer of your question. according to your problem you all need only 12 capacitor. 10 of which will be 50kvar and remaining 2 of them should have been 25kvar. that's all.
i can answer this in a very simple way and to the point. just watch out.
We have formula for it, i.e KVAR=factor*KW
whereas factor = factor K for compensation (you can get this from table-4,which i have attached also with this post)
KW = actual load
KVAR = required...