I think you are bit confused :
1) The comand "wc" is a Word count : wc - print newline, word, and byte counts for each file
They can't count the time.
Check the "man wc"
2) To measure the time of execution, use the command "time"
To identify the time of execution , try this:
Code:
$ echo " unload to testoutput select * from catalog;" | time dbaccess yourDB
$ echo " select * from catalog;" | time dbaccess yourDB
Check the time of the "REAL" field.