Text this: Variable factor shares and the index number problem: a generalization