'Crating Kanban Board but stuck at writing code for counting no of tasks in block

My HTML code

    <p>L2A 2</p>
  <h3>Admin:Approve User Account</h3>
  <hr>
  <p>&#8803; User Management</p>


    <p>L2A 3</p>
  <h3>Admin:Block User Account</h3>
  <hr>
  <p>&#8803; User Management</p>


    <p>L2A 4</p>
  <h3>User: Edit Profile</h3>
  <hr>
  <p>&#8803; Author Blogs</p>


    <p>L2A 5</p>
  <h3>User: Create Article</h3>
  <hr>
  <p>&#8803; Author Blogs</p>


    <p>L2A 6</p>
  <h3>User: Edit my Article</h3>
  <hr>
  <p>&#8803; Author Blogs</p>
           <strong>Selected for Dev</strong>
        
        
            <strong>In Progress</strong>
        
        
            <strong>Done</strong>
        

I tried few snippets of js code for counting no.of tasks in block but i'm unable to completeI have added code for drag and drop events but unable the count the left over after performing the events, for reference: https://codepen.io/nsreeja-22/pen/NWXRYRE



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source