better search for most referenced entities