Adding the counter script