[TASK] Ensure configured element count

Fixes #628.