@@ -23,15 +23,13 @@ * * @brief A protocol with methods common for all collections. */ @protocol OFCollection /*! - * @brief Returns the number of objects in the collection. - * * @return The number of objects in the collection */ -- (size_t)count; +@property (readonly, nonatomic) size_t count; /*! * @brief Checks whether the collection contains an object equal to the * specified object. *