Add ArgumentNullException when input expression is empty, instead of simply returning 0.