@name MoneyCount
@persist P:array M:array
if (first()){
    findByClass("spawned_money")
    M=findToArray()
    print(M:count())
    timer("p",200)
}

if (clk("p")){
    findByClass("money_printer")
    P=findToArray()
    print(P:count())
}
