class SummaryFooterCallback implements StepExecutionListener, FlatFileFooterCallback {

	private StepExecution stepExecution;

	@Override
	public void writeFooter(Writer writer) throws IOException {<FILL_FUNCTION_BODY>}

	@Override
	public void beforeStep(StepExecution stepExecution) {
		this.stepExecution = stepExecution;
	}

}

		writer.write("footer - number of items written: " + stepExecution.getWriteCount());
	
<no_super_class>