added number of versions to the result set