renamed array_len to count, minor text changes