because of slight syntax variations from one OS to another, YMMV, but in BSD this works like a charm.
How to find the size of every specific type of file in a directory and all sub-directions, plus the total size of them all combined:
#find . -name "*.MYI" | xargs du -h -c
The above example finds MySQL index files and was executed from /var/db/mysql