[client][ios] only send the inlinecount parameter if total count is asked for
Merge pull request #468 from hasankhan/iostotalcount2

[client][ios] only send the inlinecount parameter if total count is asked for