Add count_by() and find_last()