Index: /trunk/FACT++/src/fitsdump.cc
===================================================================
--- /trunk/FACT++/src/fitsdump.cc	(revision 17290)
+++ /trunk/FACT++/src/fitsdump.cc	(revision 17291)
@@ -132,5 +132,5 @@
 
     cout << " " << fKeyMap.find("EXTNAME")->second.value << " [";
-    cout << fKeyMap.find("NAXIS2")->second.value << "]\n";
+    cout << GetNumRows() << "]\n";
 
     for (auto it = fColMap.begin(); it != fColMap.end(); it++)
@@ -218,5 +218,5 @@
     const fits::Table::Keys &fKeyMap = GetKeys();
 
-    fout << "\nTable: " << fKeyMap.find("EXTNAME")->second.value << " (rows=" << fKeyMap.find("NAXIS2")->second.value << ")\n";
+    fout << "\nTable: " << fKeyMap.find("EXTNAME")->second.value << " (rows=" << GetNumRows() << ")\n";
     if (fKeyMap.find("COMMENT") != fKeyMap.end())
         fout << "Comment: \t" << fKeyMap.find("COMMENT")->second.value << "\n";
@@ -448,5 +448,5 @@
         fout << "## File:      \t" << filename << '\n';
     fout << "## Table:     \t" << fKeyMap.find("EXTNAME")->second.value << '\n';
-    fout << "## NumRows:   \t" << GetInt("NAXIS2") << '\n';
+    fout << "## NumRows:   \t" << GetNumRows() << '\n';
     fout << "## Comment:   \t" << ((fKeyMap.find("COMMENT") != fKeyMap.end()) ? fKeyMap.find("COMMENT")->second.value : "") << '\n';
 #ifdef HAVE_ROOT
@@ -680,5 +680,5 @@
         fout << "## File:      \t" << filename << '\n';
     fout << "## Table:     \t" << fKeyMap.find("EXTNAME")->second.value << '\n';
-    fout << "## NumRows:   \t" << GetInt("NAXIS2") << '\n';
+    fout << "## NumRows:   \t" << GetNumRows() << '\n';
     fout << "## Comment:   \t" << ((fKeyMap.find("COMMENT") != fKeyMap.end()) ? fKeyMap.find("COMMENT")->second.value : "") << '\n';
     fout << "## --------------------------------------------------------------------------\n";
