Two. x has two elements, of which one is an array. If you want 3 as answer, a better name would be natoms. :-)
/ Mirar
Previous text:
2003-01-21 22:46: Subject: Death to strlen! Death to the demoness Allegra Geller!
But is nelems(x) for x=({ 1, ({ 2, 3 }) }) two or three?
/ Martin Nilsson (Åskblod)