Fix nfilled for AbstractArray and add docs and test