As you have already provided the Expected Output Table, we could Start by Preparing the Datatable Schema using Build Datatable Activity as shown in your post above.
Next, We Perform a GroupBy and Count based on the Values Column like below using Assign Activity :