make countCache global