Ha yeah, that would be the reason for using `alength` over count.  I hadn't seen this function before and spent some time looking to see if it was defined locally.  Good to know it exists.