Fix nfilled for AbstractArray, clarify docs, and add test