SELECT count(1) as cnt FROM table WHERE type = 'T001' AND empNo = 2017062201