Also add a deprecated extension property to help migration. This is done to unify getting size of arrays and collections
#KT-6106 Fixed