$2-2g=$ number of vertices - number of edges + number of faces ($g$ is the genus and $2-2g$ is the Euler characteristic). In your case number of edges = $3/2$ times number of faces (triangles).
$2-2g=$ number of vertices - number of edges + number of faces ($g$ is the genus and $2-2g$ is the Euler characteristic). In your case number of edges = $3/2$ times number of faces (triangles).