Added getItemSize callback for CollectionLayout