Testing counting scripts