How is slop counted in span and phrase queries

I have a question on what's the meaning of slop is and how it is counted in span and phrase queries. please help.

https://www.elastic.co/guide/en/elasticsearch/guide/2.x/slop.html

To get a more meaningful answer, you should provide more info about what you haven't understood.

Thank you.