Counting Obj

this should be in a before block