DList list = new DList();
list.add( "dog" );
list.add( "ape" );
list.add( "emu" );
UnaryPredicate predicate = new BindSecondPredicate( new GreaterString(), "bat" );
int n = Counting.countIf( list, predicate );
System.out.println( "The number of strings in " + list + " > bat = " + n );