Quality metrics on unstructured data