getReferencesCount

abstract fun getReferencesCount(): Int
optional referenced public keys
repeated string references = 4;

Return

The count of references.