countTrade() added