I am using the count of labels macro in data center using following code
#set( $labelManager = $action.LabelManager ) #set( $labRef = $labelManager.getLabels($paramLabel) ) #set( $pages = $labelManager.getContentInSpaceForAllLabels(0,100,$paramSpace,$labRef) ) $pages.size()
need to use this in the confluence cloud in Atlassian connect.json
using static content macro
please suggest me how can we use this in confluence cloud