Added documentation for demandCount().

I've added an example program and some text in README.markdown on demandCount().