pass the document counter as part of rendering the gallery thumbnail
Merge pull request #9 from projectblacklight/doc-counter

pass the document counter as part of rendering the gallery thumbnail