@Override
	public Function<ISeq<BitGene>, Integer> fitness() {
		return genes -> (int)genes.stream().filter(BitGene::bit).count();
	}
Create a new Ones-Counting example with the given parameters.

@param length the length of the ones-vector
@param onesProbability the probability of ones in the created vector
jenetics.example/src/main/java/io/jenetics/example/OnesCounting.java