use json parser for coordinatesCount