Print the length instead of list, as print was O(n^2).wq