         public let name: String
         public let mimeType: String?
         public let fileName: String?
-        public let length: Int
+        public let count: Int
 
         /// Returns Part instance that has data presentation of passed value.
         /// `value` will be converted via `String(_:)` and serialized via `String.dataUsingEncoding(_:)`.

            self.name = name
            self.mimeType = mimeType ?? detectedMimeType ?? "application/octet-stream"
            self.fileName = fileName ?? fileURL.lastPathComponent
            self.length = bodyLength
        }
    }


        }

        var bodyRange: Range<Int> {
            return headerRange.upperBound..<(headerRange.upperBound + bodyPart.count)
        }

        var footerRange: Range<Int> {
