add escount method to schema