title: How to update the column of one table when another one is edited
body: <p>I have one table with columns consisting of an id, name, description, and a count. Each row in this table has a name that corresponds to another table. </p>
  
  <p>For instance, one of my rows is has the name "carcinoma". There exists another table that is named "carcinoma". </p>
  
  <p>I would like the count of column of the first table to update every time a row is added the "carcinoma" column. For instance, if table "carcinoma" has 4 rows, I want the count column in the first table to have a value of 4 for the carcinoma row. Is there a way where the count column auto updates when I insert or delete a row from the second table?</p>
  
  <h1>First Table</h1>
  
  <p>ID               Name                  Count<br>
  1                Carcinoma             0</p>
  
  <h1>Second Table Named Carcinoma</h1>
  
  <p>ID               Name<br>
  1                Squamous Cell<br>
  2                Adeno<br>
  3                Basal cell<br>
  4                Ductal cell</p>