Quadratic Term Correction on Heaps' Law