Euler‐Poincaré characteristic of a randomly filled three‐dimensional network