Added patch count to output