linked list methods: count_recursibe and self_recursive