Returns the position of a document in the $setWindowFields stage partition.