diff --git a/articlemeta/export_rsps.py b/articlemeta/export_rsps.py
index 6c93b1e..a64585a 100644
--- a/articlemeta/export_rsps.py
+++ b/articlemeta/export_rsps.py
@@ -1095,12 +1095,12 @@ class XMLArticleMetaCountsPipe(plumber.Pipe):
 
         try:
             startpage = int(raw.start_page)
-        except ValueError:
+        except (ValueError, TypeError):
             startpage = None
 
         try:
             endpage = int(raw.end_page)
-        except ValueError:
+        except (ValueError, TypeError):
             endpage = None
 
         pages = 0

Tratar a exceção do tipo: TypeError  para raw.start_page
Log da produção

```
9/17/2018 8:33:21 PM    yield self.transform(data)
9/17/2018 8:33:21 PM  File "/usr/local/lib/python3.5/site-packages/articlemeta/export_rsps.py", line 1097, in transform
9/17/2018 8:33:21 PM    startpage = int(raw.start_page)
9/17/2018 8:33:21 PM TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
```

Tratar a exceção do tipo: TypeError 

diff --git a/tests/test_export_rsps.py b/tests/test_export_rsps.py
index d0a586c..b36bc6a 100644
--- a/tests/test_export_rsps.py
+++ b/tests/test_export_rsps.py
@@ -1456,6 +1456,24 @@ class ExportTests(unittest.TestCase):
 
         self.assertEqual(0, int(count))
 
+    def test_xml_article_meta_counts_pages_pages_is_none_pipe(self):
+        fakexylosearticle = Article({'article': {}})
+
+        pxml = ET.Element('article')
+        pxml.append(ET.Element('front'))
+
+        front = pxml.find('front')
+        front.append(ET.Element('article-meta'))
+
+        data = [fakexylosearticle, pxml]
+
+        xmlarticle = export_rsps.XMLArticleMetaCountsPipe()
+        raw, xml = xmlarticle.transform(data)
+
+        count = xml.find('./front/article-meta/counts/page-count').get('count')
+
+        self.assertEqual(0, int(count))
+
     def test_xml_article_meta_counts_pages_invalid_pages_first_gt_last_pipe(self):
         pxml = ET.Element('article')
         pxml.append(ET.Element('front'))

pip install -e .
parse_log_pytest
requirements.txt
pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio
apt-get update apt-get install -y gcc libxml2-dev libxslt-dev git
3.5
requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
-e git+https://github.com/scieloorg/articles_meta.git@9f784d5eb030514da9891cea06c69013d2ae7913#egg=articlemeta
attrs==22.2.0
certifi==2018.1.18
chardet==3.0.4
coverage==6.2
crossrefapi==1.3.0
execnet==1.9.0
hupper==1.0
idna==2.6
importlib-metadata==4.8.3
iniconfig==1.1.1
legendarium==2.0.2
lxml==4.1.1
packaging==21.3
PasteDeploy==1.5.2
picles.plumber==0.11
plaster==1.0
plaster-pastedeploy==0.4.2
pluggy==1.0.0
ply==3.10
py==1.11.0
pymongo==3.6.1
pyparsing==3.1.4
pyramid==1.9.1
pytest==7.0.1
pytest-asyncio==0.16.0
pytest-cov==4.0.0
pytest-mock==3.6.1
pytest-xdist==3.0.2
raven==6.5.0
repoze.lru==0.7
requests==2.18.4
thriftpy==0.3.9
-e git+https://github.com/scieloorg/thriftpy-wrap@00e4c3ea4f20bfb2414eef7690d769bde308c0a4#egg=thriftpywrap
tomli==1.2.3
translationstring==1.4
typing_extensions==4.1.1
urllib3==1.22
venusian==1.1.0
WebOb==1.8.0rc1
xylose==1.34.0
zipp==3.6.0
zope.deprecation==4.3.0
zope.interface==4.4.3

name: articles_meta
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=21.2.2=py36h06a4308_0
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - attrs==22.2.0
      - certifi==2018.1.18
      - chardet==3.0.4
      - coverage==6.2
      - crossrefapi==1.3.0
      - execnet==1.9.0
      - hupper==1.0
      - idna==2.6
      - importlib-metadata==4.8.3
      - iniconfig==1.1.1
      - legendarium==2.0.2
      - lxml==4.1.1
      - packaging==21.3
      - pastedeploy==1.5.2
      - picles-plumber==0.11
      - plaster==1.0
      - plaster-pastedeploy==0.4.2
      - pluggy==1.0.0
      - ply==3.10
      - py==1.11.0
      - pymongo==3.6.1
      - pyparsing==3.1.4
      - pyramid==1.9.1
      - pytest==7.0.1
      - pytest-asyncio==0.16.0
      - pytest-cov==4.0.0
      - pytest-mock==3.6.1
      - pytest-xdist==3.0.2
      - raven==6.5.0
      - repoze-lru==0.7
      - requests==2.18.4
      - thriftpy==0.3.9
      - tomli==1.2.3
      - translationstring==1.4
      - typing-extensions==4.1.1
      - urllib3==1.22
      - venusian==1.1.0
      - webob==1.8.0rc1
      - xylose==1.34.0
      - zipp==3.6.0
      - zope-deprecation==4.3.0
      - zope-interface==4.4.3
prefix: /opt/conda/envs/articles_meta

tests/test_export_rsps.py::ExportTests::test_xml_article_meta_counts_pages_pages_is_none_pipe
tests/test_export_rsps.py::XMLCitationTests::test_xml_citation_article_title_pipe tests/test_export_rsps.py::XMLCitationTests::test_xml_citation_article_title_without_data_pipe tests/test_export_rsps.py::XMLCitationTests::test_xml_citation_date_pipe tests/test_export_rsps.py::XMLCitationTests::test_xml_citation_date_with_year_and_month_and_day_pipe tests/test_export_rsps.py::XMLCitationTests::test_xml_citation_date_with_year_and_month_pipe tests/test_export_rsps.py::XMLCitationTests::test_xml_citation_date_without_data_pipe tests/test_export_rsps.py::XMLCitationTests::test_xml_citation_element_citation_pipe tests/test_export_rsps.py::XMLCitationTests::test_xml_citation_fpage_pipe tests/test_export_rsps.py::XMLCitationTests::test_xml_citation_fpage_without_data_pipe tests/test_export_rsps.py::XMLCitationTests::test_xml_citation_id_as_str_pipe tests/test_export_rsps.py::XMLCitationTests::test_xml_citation_issue_pipe tests/test_export_rsps.py::XMLCitationTests::test_xml_citation_issue_without_data_pipe tests/test_export_rsps.py::XMLCitationTests::test_xml_citation_lpage_pipe tests/test_export_rsps.py::XMLCitationTests::test_xml_citation_lpage_without_data_pipe tests/test_export_rsps.py::XMLCitationTests::test_xml_citation_person_group_given_names_pipe tests/test_export_rsps.py::XMLCitationTests::test_xml_citation_person_group_len_pipe tests/test_export_rsps.py::XMLCitationTests::test_xml_citation_person_group_surname_pipe tests/test_export_rsps.py::XMLCitationTests::test_xml_citation_person_group_without_data_pipe tests/test_export_rsps.py::XMLCitationTests::test_xml_citation_setup_pipe tests/test_export_rsps.py::XMLCitationTests::test_xml_citation_source_pipe tests/test_export_rsps.py::XMLCitationTests::test_xml_citation_source_without_data_pipe tests/test_export_rsps.py::XMLCitationTests::test_xml_citation_volume_pipe tests/test_export_rsps.py::XMLCitationTests::test_xml_citation_volume_without_data_pipe tests/test_export_rsps.py::ExportTests::test_setuppipe_attributes_dtd_version tests/test_export_rsps.py::ExportTests::test_setuppipe_attributes_specific_use tests/test_export_rsps.py::ExportTests::test_setuppipe_element_name tests/test_export_rsps.py::ExportTests::test_xml_article_body_without_data_pipe tests/test_export_rsps.py::ExportTests::test_xml_article_meta_article_id_doi_pipe tests/test_export_rsps.py::ExportTests::test_xml_article_meta_article_id_doi_without_data_pipe tests/test_export_rsps.py::ExportTests::test_xml_article_meta_article_id_publisher_pipe tests/test_export_rsps.py::ExportTests::test_xml_article_meta_counts_citations_pipe tests/test_export_rsps.py::ExportTests::test_xml_article_meta_counts_pages_invalid_pages_first_gt_last_pipe tests/test_export_rsps.py::ExportTests::test_xml_article_meta_counts_pages_invalid_pages_pipe tests/test_export_rsps.py::ExportTests::test_xml_article_meta_counts_pages_pipe tests/test_export_rsps.py::ExportTests::test_xml_article_meta_permission_pipe tests/test_export_rsps.py::ExportTests::test_xml_citations_count_pipe tests/test_export_rsps.py::ExportTests::test_xml_citations_without_data_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_affiliation_address_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_affiliation_country_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_affiliation_index_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_affiliation_institution_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_affiliation_without_data_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_article_categories_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_article_categories_without_data_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_contrib_group_author_names_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_contrib_group_author_roles_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_contrib_group_author_without_xrefs_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_contrib_group_author_xrefs_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_contrib_group_without_data_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_general_info_elocation_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_general_info_first_page_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_general_info_issue_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_general_info_last_page_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_general_info_pub_month_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_general_info_pub_year_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_general_info_suppl__vol_10_issue_1_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_general_info_suppl__vol_10_issue_20_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_general_info_suppl__vol_10_issue_20_suppl_10_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_general_info_suppl_issue_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_general_info_suppl_vol_0_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_general_info_suppl_vol_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_general_info_volume_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_general_info_without_elocation_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_general_info_without_first_page_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_general_info_without_issue_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_general_info_without_last_page_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_general_info_without_volume_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_keywords_languages_data_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_keywords_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_keywords_without_data_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_original_language_abstract_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_original_language_abstract_without_data_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_title_group_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_translated_abstract_without_data_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_translated_title_group_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_meta_translated_title_group_without_data_pipe tests/test_export_rsps.py::ExportTests::test_xmlarticle_pipe tests/test_export_rsps.py::ExportTests::test_xmlclose_pipe tests/test_export_rsps.py::ExportTests::test_xmlfront_pipe tests/test_export_rsps.py::ExportTests::test_xmljournal_id_pipe tests/test_export_rsps.py::ExportTests::test_xmljournal_meta_abbrev_journal_title_pipe tests/test_export_rsps.py::ExportTests::test_xmljournal_meta_electronic_issn_pipe tests/test_export_rsps.py::ExportTests::test_xmljournal_meta_journal_title_group_pipe tests/test_export_rsps.py::ExportTests::test_xmljournal_meta_print_issn_pipe tests/test_export_rsps.py::ExportTests::test_xmljournal_meta_publisher_pipe
articlemeta/export_rsps.py
articlemeta/export_rsps.py