Pergunta de entrevista da empresa Bloomberg

Count number of off bits (ie. 0) in a string of binary bits.