passing through result count