CAL-861 support returnSize parameter for getCalendars entry point