add counting solution for linklist cycle ii