code: @Override
      public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
          if (localName.compareToIgnoreCase("osm") == 0) {
              version = attributes.getValue(GPXTags.VERSION);
          } else if (localName.compareToIgnoreCase("node") == 0) {
              totalNode++;
          } else if (localName.compareToIgnoreCase("way") == 0) {
              totalWay++;
          } else if (localName.compareToIgnoreCase("relation") == 0) {
              totalRelation++;
          }
      }
docs: Fires whenever an XML start markup is encountered. It indicates which
  version of osm file is to be parsed.
  
  @param uri URI of the local element
  @param localName Name of the local element (without prefix)
  @param qName qName of the local element (with prefix)
  @param attributes Attributes of the local element (contained in the
  markup)
  @throws SAXException Any SAX exception, possibly wrapping another
  exception