The dimension of the tensor product of a finite number of field extensions