[TASK] Ensure configured element count

Fixes #628.
Mind adding a small comment in code as to why we do this part? I bet in two years we won't remember ;)