Generalization of function to count in loop
Function to crop png generated by lilypond with external ImageMagick
Trim png files and fix filename

* Closes #34