countImages() public method

public countImages ( ) : integer
return integer
 /**
  * @Then there should still be only one image in the :taxon taxon
  */
 public function thereShouldStillBeOnlyOneImageInThisTaxon(TaxonInterface $taxon)
 {
     $this->iWantToModifyATaxon($taxon);
     Assert::eq(1, $this->updatePage->countImages(), 'This taxon has %2$s images, but it should have only one.');
 }
 /**
  * @Then this taxon should not have images
  */
 public function thisTaxonShouldNotHaveImages()
 {
     Assert::eq(0, $this->updatePage->countImages(), 'This taxon has %2$s, but it should not have.');
 }