add counting multipart listener