Determining total employee compensation is critical to keeping employees happy and attracting top job candidates. Here is how to calculate it.