Canonical Dimension Counter