Modified volume expansion method for measuring gas holdup