Auto stats collection from text documents for the Science-Commons website