Fix empty sef link
Add batch processing for stats
Add nginx stats