A new method to measure spatial association for ecological count data