{"id":28371,"date":"2017-06-16T15:40:14","date_gmt":"2017-06-16T07:40:14","guid":{"rendered":"http:\/\/localhost\/help\/?page_id=28371"},"modified":"2024-01-17T10:47:58","modified_gmt":"2024-01-17T02:47:58","slug":"count","status":"publish","type":"page","link":"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/count\/","title":{"rendered":"Count()"},"content":{"rendered":"\n<h2>Format<\/h2>\n<p class=\"intro-text\"><strong>Count(Number [,Numbers])<\/strong><\/p>\n<h2>Returns<\/h2>\n<p class=\"intro-text\">Returns the count of values per timestamp.<\/p>\n<h2>Inputs<\/h2>\n<p class=\"intro-text\"><b>Number: <\/b>The argument whose values should be counted.<br \/>\n Behaviour: Required<br \/>\n Dimensions: Collection, SingleValue<br \/>\n Valid data types: Decimal, Integer<\/p>\n<p class=\"intro-text\"><b>Numbers: <\/b>Additional arguments whose values should be counted.<br \/>\n Behaviour: ParamsArray<br \/>\n Dimensions: Collection, SingleValue<br \/>\n Valid data types: Decimal, Integer<\/p>\n<p class=\"left-bar\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/calculation-syntax\/#Data_Type\">How to format data types<\/a><\/p>\n<h2>Examples<\/h2>\n<p class=\"intro-text\">Expression: Count(1,2)<br \/>\n Result: Returns 2.<\/p>\n<p class=\"intro-text\">Expression: Count(1,2,1)<br \/>\n Result: Returns 3.<\/p>\n<p class=\"intro-text\">Expression: Count({Tag1}, {Tag2})<br \/>\n Result: Returns the count of values for each timestamp (either 1 or 2).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Returns the count of values per timestamp.<\/p>\n<p class=\"continue-reading-button\"> <a class=\"continue-reading-link\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/count\/\">Read more<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":10316,"parent":3650,"menu_order":69,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[9],"tags":[100],"class_list":["post-28371","page","type-page","status-publish","has-post-thumbnail","hentry","category-tech-ref","tag-calculations","Version-4-5-1","Product-srv"],"_links":{"self":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/28371","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/comments?post=28371"}],"version-history":[{"count":1,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/28371\/revisions"}],"predecessor-version":[{"id":46191,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/28371\/revisions\/46191"}],"up":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/3650"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media\/10316"}],"wp:attachment":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media?parent=28371"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/categories?post=28371"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/tags?post=28371"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}