How much obsidian does it take to make the nether portal in minecraft?

You will need 14obsidian if you are going to place obsidian on the corners of the portal, but if you fill in the corner of the portal with other blocks, then you will only need 10.