Add comment to bit counting function.