int libmem_get_number_of_sectors(const libmem_geometry_t *geometry);

**libmem_get_number_of_sectors** is a helper function that returns the number of sectors described by a geometry description.

**geometry** —
A pointer to the NULL terminated geometry description.

**libmem_get_number_of_sectors** returns —
The number of sectors.