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