add count and total count in output