Eh...I don't consider an electric fence any sort of permanent or reliable enclosure for most cases. I'd like at least 4-6 strands, and super beefy charger, and you would need a really solid ground if you are doing a standard negative ground setup. You will also need adequate rainfall to make it deliver a suitable shock. My cows will test that fence and they may not go through it like that, but if they spook, they will and they won't give a crap about it. I've had it happen more than once. I would far prefer a good 6 strand barbed wire, or smooth cable with a single or double electric chaser on the inside if you really just want electric.
I consider electric best suited for temporary or emergency fencing, or as stated above, something non crucial like grazing.
Just for grins, you can drive 6 8' ground rods into my pasture right now, and you won't be able to generate a suitable or convincing shock. Soil types and moisture are massive variables that mean everything. I've had 3" of rain since January so, its dry well into the subsurface. A pos-neg setup would be better but that requires the animal to touch both sets of wires, which is why I would suggest 6 at a minium if thats a route you want to go.