public function iShouldSeeNElementInTheNthParent($count, $element, $index, $parent)
{
$actual = $this->countElements($element, $index, $parent);
if ($actual !== $count) {
throw new \Exception("{$actual} occurrences of the '{$element}' element in '{$parent}' found");
}
}