add maxObjectCount security check
Merge pull request #8 from andrewrk/master

add maxObjectCount security check