extract.partitionsNumber function

Extract from object partitionsNumber