Add counter and titles to photos
Add one to hash index