Hi @Matej, I have used the dynamic data {query_results_count_filter} in the button element.
{"content":[{"id":"plxjso","name":"div","parent":"ybgopm","children":["ecpbei"],"settings":{"_hidden":{"_cssClasses":"tab-title"}},"label":"Title"},{"id":"ecpbei","name":"text-basic","parent":"plxjso","children":[],"settings":{"text":"Title 2"}},{"id":"ratpcr","name":"block","parent":"ogvfws","children":["udqdcw","eqldzx"],"settings":{"_hidden":{"_cssClasses":"tab-content"}},"label":"Tab content"},{"id":"udqdcw","name":"block","parent":"ratpcr","children":["jwwvwr"],"settings":{"_hidden":{"_cssClasses":"tab-pane"}},"label":"Pane"},{"id":"eqldzx","name":"block","parent":"ratpcr","children":["zltxvj"],"settings":{"_hidden":{"_cssClasses":"tab-pane"}},"label":"Pane"},{"id":"zltxvj","name":"text","parent":"eqldzx","children":[],"settings":{"text":"Content goes here .. (2)"}},{"id":"jwwvwr","name":"block","parent":"udqdcw","children":["yhpzwz"],"settings":{"_display":"grid","_gridGap":"20","_gridTemplateColumns":"1fr 1fr 1fr 1fr"},"label":"Grid"},{"id":"yhpzwz","name":"block","parent":"jwwvwr","children":["lpardk","guqxlj"],"settings":{"hasLoop":true,"query":{"post_type":["product"],"posts_per_page":"5"},"_rowGap":"10"},"label":"Loop item"},{"id":"lpardk","name":"image","parent":"yhpzwz","children":[],"settings":{"image":{"useDynamicData":"{featured_image}","size":"large"}},"themeStyles":[]},{"id":"guqxlj","name":"heading","parent":"yhpzwz","children":[],"settings":{"text":"{post_title}"}},{"id":"wqcsms","name":"section","parent":0,"children":["xqnyrd"],"settings":[]},{"id":"xqnyrd","name":"container","parent":"wqcsms","children":["dhmuuf","wyqmwv"],"settings":{"_rowGap":"20"}},{"id":"dhmuuf","name":"button","parent":"xqnyrd","children":[],"settings":{"text":"Results {query_results_count_filter:ibkxxi}","_cssCustom":"#brxe-dhmuuf span[data-brx-qr-count] {\n color: white;\n background-color: black;\n width: 25px;\n height: 25px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n","_background":{"color":{"hex":"#c300ff"}},"_typography":{"color":{"hex":"#ffffff"}}},"selectors":[]},{"id":"wyqmwv","name":"block","parent":"xqnyrd","children":["ibkxxi"],"settings":{"_display":"grid","_gridGap":"20","_gridTemplateColumns":"1fr 1fr 1fr 1fr"}},{"id":"ibkxxi","name":"block","parent":"wyqmwv","children":["mhwemh","mnmljl"],"settings":{"hasLoop":true,"query":{"post_type":["product"]},"_rowGap":"10"}},{"id":"mhwemh","name":"image","parent":"ibkxxi","children":[],"settings":{"image":{"useDynamicData":"{featured_image}","size":"large"}},"themeStyles":[]},{"id":"mnmljl","name":"heading","parent":"ibkxxi","children":[],"settings":{"text":"{post_title}"}},{"id":"srxcvn","name":"heading","parent":"abuztn","children":[],"settings":{"text":"{post_title}"}},{"id":"jprdcs","name":"block","parent":"gjzhqb","children":["wnrpmc"],"settings":{"_display":"grid","_gridGap":"20","_gridTemplateColumns":"1fr 1fr 1fr 1fr"}},{"id":"wnrpmc","name":"block","parent":"jprdcs","children":["gmcnvk","bocsey"],"settings":{"hasLoop":true,"query":{"post_type":["product"]},"_rowGap":"10"}},{"id":"gmcnvk","name":"image","parent":"wnrpmc","children":[],"settings":{"image":{"useDynamicData":"{featured_image}","size":"large"}},"themeStyles":[]},{"id":"bocsey","name":"heading","parent":"wnrpmc","children":[],"settings":{"text":"{post_title}"}}],"source":"bricksCopiedElements","sourceUrl":"https://try.bricksbuilder.io/t4ccb117","version":"1.12.4","globalClasses":[],"globalElements":[]}