To elaborate a little, you are resetting C5:1 before you are trying to count C5:2.
Mickey's solution will work. If you are trying to use C5:1/DN in later rungs that we cannot see in the picture, then it might make sense to move the C5:1 RES above the C5:1 counter.