Answers.Body: <p>You mean how many rows the table has?</p>
  
  <pre><code>{{ matrixblock.superTableFieldHandle|length }}
  </code></pre>
  
  <p>Or the number of blocks of a matrix field?</p>
  
  <pre><code>{{ parent.matrixFieldHandle|length }}
  </code></pre>
  
  <p>To get the number of blocks for each row</p>
  
  <pre><code>{% for row in entry.superTableMatrix %}
      {{ row.matrix|length %}
  {% endfor %}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-23T22:37:19.427Z
Answers.Text: Is there anyway to get all the records listed in the SuperTable across each Matrix entry within the Entry.  I am not sure if I am saying that correct.  Basically I have 4 matrix records and within one of the matrix blocks there is a SuperTable and there would be 5-100 records in thost SuperTables.  So combined could be 20-400 lines since the SuperTable is a text field.
Answers.UserDisplayName: Vin
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-23T22:38:18.200Z
Answers.Text: Basically need the total count for all those SuperTable entries for each Entry.
Answers.UserDisplayName: Vin
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-23T22:40:35.703Z
Answers.Text: You can loop through each field and add the number for each element
Answers.UserDisplayName: Robin Schambach
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-09T15:57:55.217Z
Answers.LastActivityDate: 2018-04-09T15:57:55.217Z
Answers.UserDisplayName: Robin Schambach
Body: <p>Is there an easy way to return the total number of entries in a Super Table within a Matrix field?</p>
  
Tags: <matrix><plugin-supertable>
Title: Matrix Field Count Records
ThreadText: # Matrix Field Count Records
  
  (Asked by: username_0 on 2018-04-09)
  
  Is there an easy way to return the total number of entries in a Super Table within a Matrix field?
  
  **Tags:** matrix, plugin-supertable
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-04-09. Score: 2 | Accepted answer
  
  You mean how many rows the table has?
  
  ```
  {{ matrixblock.superTableFieldHandle|length }}
  
  ```
  
  Or the number of blocks of a matrix field?
  
  ```
  {{ parent.matrixFieldHandle|length }}
  
  ```
  
  To get the number of blocks for each row
  
  ```
  {% for row in entry.superTableMatrix %}
      {{ row.matrix|length %}
  {% endfor %}
  
  ```
  
  > **Comments:**
  > **username_0**: Is there anyway to get all the records listed in the SuperTable across each Matrix entry within the Entry.  I am not sure if I am saying that correct.  Basically I have 4 matrix records and within one of the matrix blocks there is a SuperTable and there would be 5-100 records in thost SuperTables.  So combined could be 20-400 lines since the SuperTable is a text field.  
  > **username_0**: Basically need the total count for all those SuperTable entries for each Entry.  
  > **username_1**: You can loop through each field and add the number for each element  
  
  ---
  
  