Get Commerce Product Variant count in views

Hi all,

I have installed Drupal8 and enabled the Commerce module. I am trying to show product variants count for each product in the Product listing page. I tried to get count using result summary in the header of the view not in the fields.

Is there any way to get the just the variant count by passing product ID to views?

Drupal version: 


Source: https://www.drupal.org/taxonomy/term/22/feed