add some sample documentation; allow user to specify number of rows returned (set to 0 to get count only)
fix issue with getting specific collection
work on STNFRDSYNC-17 and STNFRDSYNC-19