it made me think what i had gained---not the least of which
it made me think what i had gained---not the least of which was a quiet bond with the short man....
it made me think what i had gained---not the least of which was a quiet bond with the short man.这里的which从句是定语从句吗,它既做of的宾语又做主语吗?觉得应该用what~