It seems reasonable that if a field is available from Summary filters within a constituent record, then it should be exportable from either Query or Export. Apparently the Total Number of Gifts field is not exportable as shown in this Knowledgebase article: https://kb.blackbaud.com/articles/Article/49040