reader: add NumAvailable function
Merge pull request #3 from fastly/num_available

reader: add NumAvailable function