Put . The Verlinde formula diagonalizes every anyon fusion matrix using the same modular S-matrix:
Because , the eigenvalue of in column is
The last equality uses unitary matrix orthogonality. Therefore
Finally, insert , where is the quantum dimension and is the squared total quantum dimension:
Although only quantum dimensions remain, the result is an integer because a counts an anyon fusion space.
The sphere value is , and the torus value is . If all simple anyons have quantum dimension one, the answer is , agreeing with the Abelian handle count. These checks also fix the exponent .