    

 ## On this page

  

 

 # bit\_count

 Last update: 10.09.2025 

<a id="ansys.meshing.prime.CellZoneletType.bit_count"></a>

#### CellZoneletType.bit\_count(/)

Number of ones in the binary representation of the absolute value of self.

Also known as the population count.

```pycon
&gt;&gt;&gt; bin(13)
'0b1101'
&gt;&gt;&gt; (13).bit_count()
3

```