I simply removed the count() function because it wasn't used.
https://github.com/fho/tcollector/commit/af9f44cfa850dcd8142fbacd1db2bf4b1a374771