Fix counting grid rows in behat