remove commandcount

uneeded code