# How to read the total sessions of a connected service of a PricePlan

**URL:** <https://forum.wixstudio.com/t/how-to-read-the-total-sessions-of-a-connected-service-of-a-priceplan/10357>\
**Category:** Ask the community\
**Tags:** wix-online-programs, wix-bookings, code, question\
**Created:** [June 1, 2023, 4:01pm UTC](https://forum.wixstudio.com/t/how-to-read-the-total-sessions-of-a-connected-service-of-a-priceplan/10357 "2023-06-01T16:01:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lw-melbourne](https://avatars.discourse-cdn.com/v4/letter/l/eb8c5e/32.png) [@lw-melbourne](https://forum.wixstudio.com/u/lw-melbourne)\
**Post date:** [June 1, 2023, 4:01pm UTC](https://forum.wixstudio.com/t/how-to-read-the-total-sessions-of-a-connected-service-of-a-priceplan/10357/1 "2023-06-01T16:01:53Z")

</div>

In WIX, when you create a PricePlan, you can connected existing BookingServices to the plan and select the number of sessions. Please refer to the attached screenshot.

Could I know how to write velo code to read the number of sessions of a certain connected service of a given PricePlan, i.e. the number highlighed on the attached screenshot.

I have read all the relevant content on WIX online document (see the url link below), but still get no answers.

[https://www.wix.com/velo/reference/wix-pricing-plans-backend](https://www.wix.com/velo/reference/wix-pricing-plans-backend)

![](https://us1.discourse-cdn.com/wix/original/3X/6/7/6742efbf262ec9bf396242184c93137215bbdb9b.jpeg)
