[**European Parliament MCP Server API v1.3.9**](../../../../README.md)

***

[European Parliament MCP Server API](../../../../modules.md) / [clients/ep/jsonLdHelpers](../README.md) / extractVoteCount

# Function: extractVoteCount()

> **extractVoteCount**(`value`): `number`

Defined in: [clients/ep/jsonLdHelpers.ts:256](https://github.com/Hack23/European-Parliament-MCP-Server/blob/main/src/clients/ep/jsonLdHelpers.ts#L256)

Extracts a numeric vote count from an EP API value.

## Parameters

### value

`unknown`

Raw vote count value

## Returns

`number`

Parsed integer count, or 0
