"Through The Final Cut, Gilmour had 5 total tracks with a solo writing credit, counting the song Wish You Were Here, with lyrics by Waters, a 1:05 second instrumental, So Gilmour wrote a total of 3 songs by himself before Waters left Floyd, the last being 1972s ""Childhood's End""   

"