Word counts and character counts

Hi,
I'm using Pages '06. I would like to be able to count the number of words and characters in a paragraph in Pages. I know that if i go to the Document Inspector and click info, it gives me word and character counts for the entire document. Is there a way to do this for individual paragraphs?
Many thanks.
Joe.

After you install WordService (see link in Dennis' post), you can access several new services in the Pages menu. You may have to restart Pages &/or your Mac.
WordService & CalcService add their functions to any OS X program that has been programed to utilize Services. I've been using them since shortly after I got iWork '05.

Similar Messages

  • How do you get a word and character count of a document in Pages for Mavericks

    How do you get a word and character count of a document in Pages for Mavericks?

    Hi jonathan,
    I struggled with this one as well, as i'm finishing up a PhD thesis and word counts are incredibly important. Through trial and error i found out that words like 'e.g.' and 'i.e.' count as two words and an ampersand (&) doesn't count at all. That being said, i didn't like the fact that the word count always included footnotes and i was dismayed that i couldn't get an accurate count of words in the main body of my text. That all disappeared yesterday when, by chance, while i was copying a completed chapter and pasting it into my main document, i discovered that Pages can indeed give you an accurate word count excluding the footnotes!  Here's all you need to do:
    1. In pages 5.2, make sure that the Word Count function is first enabled by selecting View --> Show Word Count from the Pages Menu Bar. (If it's already enabled, it will read View --> Hide Word Count, so if that's what it says, then no need to do anything.)
    2. Once enabled, check the Word count that's currently showing at the bottom of the page. That's the word count including your footnotes.
    2. Now, place your cursor anywhere within the current document, then hit command+A (for Select All).
    3. Viola! Your word count now shows the actual number of words within the body of the text only, excluding footnotes!
    Hope that helps!

  • Is there a way to exclude title, heading and bibliography text from the word count in pages?

    I've just got the newest version of pages.
    The word count includes everything, from titles to endnotes - including the numbers in my sub-headings.
    I used to use open office where you could select a style i.e. 'body tex't, and get a word count that didn't include every single word in a document.
    Is there a way of doing something similar, or reseting the word count to only 'body text' so I know exactly how long my essays are?
    Thanks.

    Unfortunately, no version of Pages has this fine-grained control over document components and their word count, so the answer is no, regarding user changeable settings.
    Programmatically, I just told AppleScript to count the words of body text in a currently opened Pages v5.2 document. The count matched the Pages word count for the document. So, no solution there either.

  • Does anyone know why the word count in Word for Mac changes so drastically? In one document it goes up and down by several hundred at a time when I have done nothing but scroll through the document.

    I am new to the wonderful world of Mac and all of my documents were created in MS Word on my old laptop. I noticed that the word counts were slightly different when I opened the documents in Word for Mac, but then I noticed that they changed drastically. For intance, I opened a document today and after the initial period where the word count shifts, it seemed to settle on 13,171. I left the document for a while to work on some other things and when I came back the word count had changed to 11,677. I didn't do anything to the document. Word counts are important to me since I need at least 60,000 for my PhD Dissertation. Which word count should I trust?

    Since Word is a Microsoft product, you should probably post your question on the Microsoft Mac forums:
    http://answers.microsoft.com/en-us/mac

  • Word count and my ActionPerformed

    I am having a little trouble with my program and was wondering if anyone could spot the mistake... I am trying to make a simple application that will count the number of words in a text field via click of a button and display the results.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.text.*;
    public class WordCount extends JFrame implements ActionListener
    // added JTextPane, JScrollPane, JPanel JTextField, and JButton
        public static void main(String[] args)
         // layout
        public WordCount()
              super();
              Container cp = getContentPane();
              wordCount.setEditable(false);
              south.setLayout(new FlowLayout(FlowLayout.CENTER));
              south.add(jbtCount);
                   jbtCount.addActionListener (this);
              south.add(new JLabel("  Word Count: "));
              south.add(wordCount);
              cp.add(BorderLayout.CENTER,jsPane);
              cp.add(BorderLayout.SOUTH,south);
         public void actionPerformed(ActionEvent e)
              //if(e.getSource() == jbtCount)   // user clicks Count Words Button
              Object s = e.getSource();
             if ( s instanceof Button )
                  jtPane.setDocument(new DefaultStyledDocument() {
                        public void insertString(int offset, String str, AttributeSet as) throws BadLocationException
                           super.insertString(offset,str,as);
                           String text = jtPane.getText();
                           String[] tokens = text.split(" ");
                           wordCount.setText("" + countValid(tokens));
                         public void remove(int offset, int len) throws BadLocationException
                           super.remove(offset,len);
                           String text = jtPane.getText();
                           String[] tokens = text.split(" ");
                             wordCount.setText("" + countValid(tokens));
                  else{}
         } // end actionPerformed
         private int countValid(String[] tokens)
              int count = 0;
             for (int i = 0; i < tokens.length; i++)
                    if (tokens.trim().length() != 0)
              count++;
         return count;
    } // end public class WordCount

    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.text.*;
    public class WordCount extends JFrame implements ActionListener
         JTextPane jtPane = new JTextPane();
         JScrollPane jsPane = new JScrollPane(jtPane);
         JPanel south = new JPanel();
         JTextField wordCount = new JTextField(20);
         JButton jbtCount = new JButton("Count Words");
        public static void main(String[] args)
              int width = 700;
              int height = 300;
               WordCount f = new WordCount();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
             f.setSize(width, height);
             f.setTitle("Word Counter");
             f.setLocation(200, 200);
             f.setVisible(true);
        public WordCount()
              super();
              Container cp = getContentPane();
              wordCount.setEditable(false);
              south.setLayout(new FlowLayout(FlowLayout.CENTER));
              south.add(jbtCount);
                   jbtCount.addActionListener (this);
              south.add(new JLabel("  Word Count: "));
              south.add(wordCount);
              cp.add(BorderLayout.CENTER,jsPane);
              cp.add(BorderLayout.SOUTH,south);
         public void actionPerformed(ActionEvent e)
              //if(e.getSource() == jbtCount)   // user clicks Count Words Button
              Object s = e.getSource();
                  // *** process Button actions
            if ( s instanceof Button )
                  jtPane.setDocument(new DefaultStyledDocument() {
                        public void insertString(int offset, String str, AttributeSet as) throws BadLocationException
                           super.insertString(offset,str,as);
                           String text = jtPane.getText();
                           String[] tokens = text.split(" ");
                           wordCount.setText("" + countValid(tokens));
                         public void remove(int offset, int len) throws BadLocationException
                           super.remove(offset,len);
                           String text = jtPane.getText();
                           String[] tokens = text.split(" ");
                             wordCount.setText("" + countValid(tokens));
                  else{}
         }// end actionPerformed
         private int countValid(String[] tokens)
              int count = 0;
             for (int i = 0; i < tokens.length; i++)
                    if (tokens.trim().length() != 0)
              count++;
         return count;
    } // end public class WordCount

  • What happened to page count, word count and the toolbar at the top?

    Is there any way to edit the toolbar so that when I want to switch fonts I don't have to keep opening the toolbar on the side? (Is there anyway I can get the toolbar from the previous version back?)
    Also, is there a way for the page count and word count to show up and stay there for future documents? I had the word count appear and tried to save that as a template but when trying to open up new documents I have to go back and make it so the word count shows up again.

    What Peter said.
    Is there any way to edit the toolbar so that when I want to switch fonts I don't have to keep opening the toolbar on the side?
    Yes. Menu > View > Customize Toolbar... drag/drop the Fonts icon adjacent to the Comments icon on the Toolbar. The Fonts icon now becomes a toggle to show/hide the Fonts toolbox, which you could also produce with a command+T.
    (Is there anyway I can get the toolbar from the previous version back?
    No.
    Also, is there a way for the page count and word count to show up and stay there for future documents
    No. Available via Menu > View > Show Word Count. This produces a floating box at the bottom of your document. When you roll over it with your mouse, you have a selection of words, characters, and paragraphs. The word count excludes spaces.

  • Where, if any, Word Count and Word Frequency tools on Apple Works or MS Wrd

    5/26/2008. Is there a "word count" and/or "word frequency" tool(s) on Apple Works word document and/or Microsoft Word for Mac word document, and how does one use or activate it, or find such for it on the web?? Many thanks. C. Yopst, Chicago

    Hi C,
    In an AppleWorks WP document, go Edit > Writing Tools > Word count. This will give you a count of characters, words, lines and paragraphs in the document or, if you have selected a portion of the document, in the selection.
    To my knowledge, there's no tool to give a word frequency figure, although that could be done with some fairly easy manipulation involving a spreadsheet.
    For MS Word questions, I'd suggest checking the Word section of Microsoft's Mactopia site. Try searching "count words".
    Regards,
    Barry

  • Word Count and Footnotes

    Hello,
    I have looked at some of the posts on word count but I need to do a word count that automatically includes footnotes. MS Word supports this. Does Pages and, if so, how?
    Many thanks.

    Stephen1965 wrote:
    Thanks for the prompt reply. I should clarify:
    The automatic word count does indeed include footnotes, but if you use the inspector and a selection of text there is no option to include a word count of any footnotes attached to that selection.
    I need to be able to select sections of the document and get a word count that includes the footnotes that belong to that section.
    Feature unavailable but available.
    Select the block of text in the main text layer.
    Grab the word count.
    Select the footnotes.
    Grab the word count.
    Make an addition and you will know the wanted word count.
    _Go to "Provide Pages Feedback" in the "Pages" menu_, describe what you wish.
    Then, cross your fingers, and wait _at least_ for iWork'10
    Yvan KOENIG (VALLAURIS, France) mardi 29 septembre 2009 17:24:31
    Thanks again.

  • After installing lion and updating to pages 4.1 cannot view my document content after I open the document.  Shows how many pages I have and how many words in word count, but no words...

    after installing lion and updating to pages 4.1 cannot view my document content after I open the document.  Shows how many pages I have and how many words in word count, but no words...

    Same problem. Tried reinstalling Pages. Didn't help. The behavior is like I am typing with a white font on a white background, but I am not.

  • Appleworks: word count, footnotes and text frames.

    Hi there!
    Does anybody know if footnotes and text boxes are automatically included in a word processing document word count? If they are, is there a way of excluding these from the word count? Am writing a 12,000 word dissertation, and footnotes and illustration references (which I have put in separate text frames)don't count towards this figure, but some of mine are huge so I'm worried about them distorting the word count.
    Thanks
    ibook G4   Mac OS X (10.4.3)  

    AppleWorks offers an option to Count Selection in the Word Count dialogue. Click in the main body of the text, then press command-A to select all. Then go Edit > Writing tools... > Word count... In the dialogue, click the Count Selection checkbox, and you'll notice the count goes down.
    Unfortunately, this eliminates only the words contained in Text frames, which, as objects, aren't selected along with the text. Footnotes are included in the text selection, and are included in the count.
    To eliminate footnotes (and text in frames) from the count do this:
    •Click in the body text and Select All (command-A)\
    •Copy (command-C)
    •Open a new (temporary) word processor document
    •Paste (command-V)
    •Find/Change (command-F)
    --in Find, enter "\f" (without the quotes) (\f is the marker for a footnote)
    --leave Change empty
    --Click Change All, then OK the warning and the alert telling you how many changes were made.
    •Go Edit > Writing tools...> Word Count.
    •Close the temporary document without saving.
    The process copies the main text and footnotes to a new document, then removes all of the footnotes before you do the word count.
    Regards,
    Barry

  • Adapting My Word Counter Program to also Search and Replace

    Hi,
    I recently completed a word counter program for a school assignment. It reads in a file name from the command line and prints the contents to the screen before counting the number of words. i now want to try and adapt this program to also search for and replace a word specified by the user and print the document back to the creen with the changes. it would work something like this:
    java SearchReplaceApp test.txt
    This is a test
    This is a test
    This is a Test
    This is a Test
    This file contains 16 words
    Search for?: test
    Replace with?: Test
    This is a Test
    This is a Test
    This is a Test
    This is a Test
    Search for?:
    etc..........
    I was planning on using the replaceAll method and obviously i would neeed some kind of loop structure (probably a do/while loop) but i dont really know how to implement this in this scenario.
    Any suggestions would be appreciated. NEWBIE ALERT!!!!!! im afraid as i have very little programming experience, so please keep it as simple as possible please.
    maybe i'll give you a hug or something

    Just to make it easier for you guys to understand heres the code i have for my word counter, which i have now renamed SearchReplaceApp:
    import java.io.*;
    import java.util.*;
    class SearchReplaceApp
                public static InputStreamReader input =
                                       new InputStreamReader(System.in);
                public static BufferedReader keyboardInput =
                                       new BufferedReader(input);
                public static void main(String[] args) throws IOException
                                      FileReader file = new FileReader(args[0]);
                                      BufferedReader MyFile = new BufferedReader(file);
                                      StringTokenizer TokenizeMe;
                                                int NumberOfTokens = 0;
                                                int NumberOfWords = 0;
               TokenizeMe = new StringTokenizer(MyFile.readLine());
               NumberOfTokens = TokenizeMe.countTokens();
               while (NumberOfTokens != 0)
                                        for (int WordsInLine=1; WordsInLine<=NumberOfTokens;
                                                                        WordsInLine++)
                                                     System.out.print(TokenizeMe.nextToken()+" ");
                                        System.out.println();
                                        NumberOfWords += NumberOfTokens;
                                        String line = MyFile.readLine();
                                        if (line==null) break;
                                       TokenizeMe = new StringTokenizer(line);
                                       NumberOfTokens = TokenizeMe.countTokens();
                 System.out.println("\nThis file contains " + NumberOfWords + " words");
                 MyFile.close();
    }as you can see it does use a tokenizer, i would ideally like to be able to replace parts of words as well as whole words and also prompt for another search word after displaying the updated file e.g.
    This is a test
    Search for?: is
    Replace with?: was
    Thwas was a test
    Search for?:
    im really quite stuck on this so suggestions of any kind are welcome
    thanks

  • Is it possible to display word count or character count in selected text

    The Word Count utility counts all words in the document. Is there a way to count the number of characters or words in a piece of selected text?

    re: Is there a way to count the number of characters or words in a piece of selected text?
    Until you get an answer you like better, with the text highlighted, right-click, copy, paste into empty LibreOffice Writer document:
    Tools > Word Count

  • Is it possible to limit the size of a text box by word count?

    I know that it is possible to use a character limit but most users prefer a word limit as they feel it is a more meaningful restriction rather than punishing those that use long words!
    Is there some way to apply a word count limit on a text field in Designer?

    Thanks Elaine, I did find a a few scripts like this online but none of them were geared toward people using LCD to create forms.  The one you've posted is the simplest one I've seen and  I've adapted the script form the example you provided but have had a blank on how to call the script object using a click event on a button.
    So far I have
    function countWords()
                           form1.test.countText.rawValue = form1.test.enterText.rawValue.split(' ').length;

  • Word Count feature slow in CS4

    The word cound feature in InDesign CS4 is sometimes very slow compared to what it was in CS2. I'm not even counting vast quantities of text, often a story of 1000 or so words will pause for an infernally long time before displaying results.
    Has anyone figured out a fix or workaround for this? I typically need to count stories or selections in a hurry.
    kurt hoffman
    art director
    Forward newspaper

    If you roll-over the right side of that character count display, a menu will appear, on which also appears the word count. Click on the word count entry, and it becomes the default display at the bottom of the page. Also, by holding down the command key, you can click and drag that floating box to your preferred display location.

  • Is there a way to exclude text from word count?

    Hi,
    I'm writing a research project at the moment and it's about 12000 words. I have to state the word count at the start and it is supposed to exclude everything which comes in reference brackets, eg (Ames, 2009, p.103)
    I want to check the word count at the moment so want to exclude all references from the word count, but I dont want to simply delete them all because I still need to work on the doucment!
    Is there a way to do that?!

    Hi Brigit,
    It can be done (or at least estimated closely) using only tools included in Pages, Here's the process:
    Record the word count at the bottom left of the document window.
    Press command-F to open the Find/Replace dialogue.
    Enter an opening parenthesis character ( "("  without the quotes ) into the Find box.
    Enter the same character into the Replace with box.
    Click Replace all.
    Note the count of items replaced below the Replace box (one in the example, your post above):
    If all in text references are similar to the sample one provided, each contains four 'words'. Multiply the count by four, subtract the result from the document's word count, and you'll have the result you're looking for.
    If your references are of different lengths (eg. (Ames and Smith, 2003, pp.301-303) has a word count of 7), you'll need to adjust the multiplier.
    Note that if you have parentheses in your document that are NOT enclosing references, these will be included in the count.
    Regards,
    Barry

Maybe you are looking for