updated library to only send count and offset if they are truthy (previously, we sent them irregardless of what was received).

Updated readme to include a note about optional values.