Update Result.php

Adjusted function count(), by using feature RowCounter.