Counting how many vectors have been cached