Utilized count instead of GetLength method.