graphite-project/graphite-web — pull request #82 by obfuscurity (2012-10-16 01:50:04+00:00)
Title: add support for countSeries (0.9.x)

Originally requested by @jib this adds a new function `countSeries()` which returns a series of the number of nodes represented by a wildcard seriesList. This can in turn be passed to other functions like `scale()`.

The original use case was to be able to calculate an aggregate threshold based on the number of nodes existing in their system at any point in time.