
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 " "
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 <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






