This version of Unity is unsupported.

CubemapArray.cubemapCount

Switch to Manual
public int cubemapCount;

Description

Number of cubemaps in the array (Read Only).

See Also: Texture.width.