'negcnt' to modular form