added hashes option to collection.format()

added 'hashes' to format pattern. It makes n hashes based on the length of the last frame number.