Update DataStore.php

made subquery to get num results back