Follow the standard pattern to get the length of an array - this allows the pattern to be detected automatically
Merge pull request #1950 from yebblies/arraylength

[DDMD] Follow the standard pattern to get the length of an array - this allows the pattern to be detected automatically