totalElements

The number of elements across every dimension, i.e. the size of the flat elements list.