Closes #97 - Adds selection of ids and relations besides the counts