You could write a new step, something like :
/**
* @Then /^I should see "([^"]*)" exactly "([^"]*)" times$/
*/
public function iShouldSeeTextSoManyTimes($sText, $iExpected)
{
$sContent = $this->getSession()->getPage()->getText();
$iFound = substr_count($sContent, $sText);
if ($iExpected != $iFound) {
throw new \Exception('Found '.$iFound.' occurences of "'.$sText.'" when expecting '.$iExpected);
}
}
And then have a scenario such as :
Scenario: Some many times
Given I am on "http://en.wikipedia.org"
Then I should see "Welcome" exactly "1" times