added laplacian smoothing to contcount