COUNTING O'S AND 1'S