Fix counting grid rows in behat when the count is 0