A formula for the Euler characteristic of the moduli space of genus 2 pointed curves