Method for estimating the cooperativity length in polymers