Subscriptions Beta Changes

is there anyway to poll subscribers by subscription level? Like it shows on the Revenue tab of the dashboard? Or would i need to iterate through all of my subscribers and use the sub_plan for count…