SYNOPSIS
     int count_bits(string str);

BESCHREIBUNG
     Diese Funktion zaehlt die Anzahl gesetzer Bits im Bitstring <str> und
     liefert die Anzahl als Resultat zurueck.

BEMERKUNGEN
     Arbeitet eigentlich nur sinnvoll auf Bitstrings :)

BEISPIEL
     string s;
     s = set_bit("", 3); s = set_bit(s, 15);
     count_bits(s) --> liefert 2

SIEHE AUCH
     clear_bit(E), set_bit(E), test_bit(E), next_bit(E), last_bit(E),
     or_bits(E), xor_bits(E), invert_bits(E), copy_bits(E), bitstrings (C)

10.Apr.2007 Gloinson
