Counting the times a patent is cited