public int numValues ( String property ) { int count = 0 ; if ( has ( ) ) { TResult result = queryForValues ( property ) ; try { count = result . getCount ( ) ; } finally { result . close ( ) ; } } return count ; }
Get the number of values for the property