It's simple. If Aokiji freezes you over range, he does so by creating a stream of ice, which, upon contact, freezes you:
He basically did the same vs. Doflamingo, where he had the ice travel through the ground. So yes, you can counter it by stopping the ice. Freezing is most effective when...