Add vim modelines to preserve indent style.
Merge pull request #12 from nelchael/master

Add vim modelines to preserve indent style
Avoid checking type of count, use -1 as "not found".
Merge pull request #13 from nelchael/master

Use -1 for "not found"
Merge remote-tracking branch 'upstream/master'