fixed --count on DB2