NAME
miget_volume_dimension_count - get the number of dimensions defined in a MINC
volume, according to their class and attribute.
SYNOPSIS
#include <minc2.h>
int miget_volume_dimension_count ( mihandle_t volume,
midimclass_t class,
midimattr_t attr,
int *dimension_count );
DESCRIPTION
This function may be used to determine the number of dimensions with the
given class and attributes.
RETURN VALUE
MI_NOERROR if the call succeeds, or MI_ERROR if an error is detected.