Sanity-check that options.maxCount is an int before "adding" it. If it is a string, the whole thing becomes a string and options.maxCount is appended to the end (because JavaScript).