Add test for array coordinate length (issue #1761)
Add len() to coordinates

Closes #1761