Original: Twenty-nine of them are compositions that are officially credited to the songwriting partnership of Lennon/McCartney.
Simplified: Thirty of them are songs that are officially credited to the songwriting partnership of Lennon-McCartney.