This function is used to retrieve the size of a dimension, returns an integer. Returns 0 in case of invalid dimension name.
dimension.size(dimension_name)
dimension_name
let dimension_size = dimension.size("time");