Unfortunately, the only way to do this would be to manually count up and keep track of all the resources required for your design. There doesn't seem to be any calculator available online, and the only one I could personally find was discontinued a while ago. Whilst I'm all for efficiency, try not to get too hung up on it. If you do end up with a few too many bricks, save them for later on. You can use them for repairs, decorations, god altars and other things. It's always good to have a small backup lying around.