Loading

BUCKETCOUNT

bucketize gts

The function BUCKETCOUNT consumes a GTS off the stack and pushes its bucketcount onto the stack.

Note: when called on a non bucketized GTS instance, it returns 0.

BUCKETCOUNT is available since version 1.0.0.

See also

Signatures

Examples

[ '60VgNqxhAaCdS6_uOLtZNMGWAbGpS5xmPL4gAbC_QbCjRbBiS5KhR5KmNMGpRaJQ.cV3Aa4kR.WZQqBiO54oNFWnOLtnQr88O.7kBGQisxjnVyLaxkgLbUEd_RTgYDIS.Gg..4N.5A.06sg7.........1hWN6aUdSEjkD0Vqg...XAzOwylS22pDFB3Ou3RAhi1lSTt70mIuq.T_8BbJjMFUGqJ7zXuKLt637GYU6kSJBc2mZ4LOVlaKZBtPL1.ILO67BVs95RMgVmmoHOLD5KB2zM6P6m2RfmFjQ.PP62V5mYbYgOMc37ctkfN1K2DFbTFRK1D.pAca4VViRo3qSLcdWp.pcBXVyktZsbVR.B.PIcrpcc0...L_.NG..' ] UNWRAP [ SWAP bucketizer.max 0 0 3 ] BUCKETIZE // bucketize it to 3 buckets 0 GET // extract the single GTS from the list BUCKETCOUNT // apply BUCKETCOUNT