Add count and count_if algorithms example