Finish the select first, all and count methods