updated count_based_PVA simulation