Added element count and sub-directory search to repo frontend. Closes #358