add counting method on line 42, need to set feature type to the sender