
echo " "
echo "Counting <book> and </book> tags"
grep -c "<book>" $1
grep -c "</book>" $1


echo " "
echo "Counting <comment> and </comment> tags"
grep -c "<comment>" $1
grep -c "</comment>" $1


echo " "
echo "Counting <chapter> and </chapter> tags"
grep -c "<chapter>" $1
grep -c "</chapter>" $1


echo "Counting <chaptertitle> and </chaptertitle> tags"
grep -c "<chaptertitle>" $1
grep -c "</chaptertitle>" $1


echo " "
echo "Counting <section> and </section> tags"
grep -c "<section>" $1
grep -c "</section>" $1


echo "Counting <sectiontitle> and </sectiontitle> tags"
grep -c "<sectiontitle>" $1
grep -c "</sectiontitle>" $1


echo "Counting <sectiontitle*> and </sectiontitle*> tags"
grep -c "<sectiontitle\*>" $1
grep -c "</sectiontitle\*>" $1


echo " "
echo "Counting <subsection> and </subsection> tags"
grep -c "<subsection>" $1
grep -c "</subsection>" $1


echo "Counting <subsectiontitle> and </subsectiontitle> tags"
grep -c "<subsectiontitle>" $1
grep -c "</subsectiontitle>" $1


echo " "
echo "Counting <subsubsection> and </subsubsection> tags"
grep -c "<subsubsection>" $1
grep -c "</subsubsection>" $1


echo "Counting <subsubsectiontitle> and </subsubsectiontitle> tags"
grep -c "<subsubsectiontitle>" $1
grep -c "</subsubsectiontitle>" $1


echo " "
echo "Counting <itemize> and </itemize> tags"
grep -c "<itemize>" $1
grep -c "</itemize>" $1


echo "Counting <item> and </item> tags"
grep -c "<item>" $1
grep -c "</item>" $1


echo " "
echo "Counting <para> and </para> tags"
grep -c "<para>" $1
grep -c "</para>" $1


echo " "
echo "Counting <image> and </image> tags"
grep -c "<image>" $1
grep -c "</image>" $1


echo " "
echo "Counting <quotation> and </quotation> tags"
grep -c "<quotation>" $1
grep -c "</quotation>" $1


echo " "
echo "Counting <index> and </index> tags"
grep -c "<index>" $1
grep -c "</index>" $1


echo " "
echo "Counting <italic> and </italic> tags"
grep -c "<italic>" $1
grep -c "</italic>" $1


echo " "
echo "Counting <bold> and </bold> tags"
grep -c "<bold>" $1
grep -c "</bold>" $1


echo " "
echo "Counting <underline> and </underline> tags"
grep -c "<underline>" $1
grep -c "</underline>" $1


echo " "
echo "Counting <subscript> and </subscript> tags"
grep -c "<subscript>" $1
grep -c "</subscript>" $1


echo " "
echo "Counting <superscript> and </superscript> tags"
grep -c "<superscript>" $1
grep -c "</superscript>" $1


echo " "
echo "Counting <subscript2> and </subscript2> tags"
grep -c "<subscript2>" $1
grep -c "</subscript2>" $1


echo " "
echo "Counting <superscript2> and </superscript2> tags"
grep -c "<superscript2>" $1
grep -c "</superscript2>" $1


echo " "
echo "Counting <math> and </math> tags"
grep -c "<math>" $1
grep -c "</math>" $1


echo " "
echo "Counting <typewriter> and </typewriter> tags"
grep -c "<typewriter>" $1
grep -c "</typewriter>" $1


echo " "
echo "Counting <literal> and </literal> tags"
grep -c "<literal>" $1
grep -c "</literal>" $1


echo " "
echo "Counting <url> and </url> tags"
grep -c "<url>" $1
grep -c "</url>" $1

echo " "
echo "Counting <label> and </label> tags"
grep -c "<label>" $1
grep -c "</label>" $1

echo " "
echo "Counting <tex> and </tex> tags"
grep -c "<tex>" $1
grep -c "</tex>" $1

echo " "
echo "Counting <htmlo> and </htmlo> tags"
grep -c "<htmlo>" $1
grep -c "</htmlo>" $1

echo " "
echo "Counting <caption> and </caption> tags"
grep -c "<caption>" $1
grep -c "</caption>" $1

echo " "
echo "Counting <table> and </table> tags"
grep -c "<table>" $1
grep -c "</table>" $1


echo " "
echo "Counting <tabular> and </tabular> tags"
grep -c "<tabular>" $1
grep -c "</tabular>" $1

echo " "
echo "Counting <th> and </th> tags"
grep -c "<th>" $1
grep -c "</th>" $1


echo " "
echo "Counting <td> and </td> tags"
grep -c "<td>" $1
grep -c "</td>" $1


echo " "
echo "Counting <ref> and </ref> tags"
grep -c "<ref>" $1
grep -c "</ref>" $1


echo " "
echo "Counting <pageref> and </pageref> tags"
grep -c "<pageref>" $1
grep -c "</pageref>" $1


echo " "
echo "Counting <thebibliography> and </thebibliography> tags"
grep -c "<thebibliography>" $1
grep -c "</thebibliography>" $1


echo " "
echo "Counting <bibitem> and </bibitem> tags"
grep -c "<bibitem>" $1
grep -c "</bibitem>" $1


echo " "
echo "Counting <cite> and </cite> tags"
grep -c "<cite>" $1
grep -c "</cite>" $1


echo " "
echo "Counting <hyperlink> and </hyperlink> tags"
grep -c "<hyperlink>" $1
grep -c "</hyperlink>" $1


echo " "
echo "Counting <hypertarget> and </hypertarget> tags"
grep -c "<hypertarget>" $1
grep -c "</hypertarget>" $1




