Correct counting of exported facets.

Fixes #124