Added cross-origin headers to count