I have an list that consists of ten entries. on clicking a button ajax loads and the count of the element in the list increases to 20. I have to take the previous count(10) and compare with the count(20) after button click. But after button click. I'm unable to get the count of the same list. It throws exception as unable to find the element. But Manually I've succeeded in checking with firepath.