add GamaPuppet::countKeyframe