PHP.SU
FORUM.PHP.SU
(PHP3, PHP4, PHP5)
hw_api_object->count - возвращает количество атрибутов.
int count (array parameter)