Improves CountStatementProcessor to append results in file