ResolvedQuartets function

Count resolved quartets