Added new stub primitive count_attachments().

  This primitive calls CMessage::attachments(), which is unimplemented
 and returns an empty vector for the moment.

  TODO: Populate the vector with the attachments we find in the
 message.

  Updates issue #45.