count based prediction