pub fn patches_nchildren(patches: &Patches) -> usize
Returns the number of children produced by patches.