Sorry, have only ever heard Aimee's version and, given that she does write most of her songs, had assumed she had written this too. You learn something new every day!
It actually originally featured on Harry Nilsson's 1968 album Aerial Ballet before becoming covered by Three Dog Night and, perhaps most famously, Aimee Mann for the Magnolia soundtrack. The title is simply 'One'.