Sir Paul McCartney has spent a total of 98 weeks at number one on the British pop singles chart throughout his career.