An elephant population census was conducted in Sabah between July 2007 and December 2008, counting dung piles along 216 line transects in five main elephant managed ranges, covering a total distance of 186 kilometers .