fix for cant find commits count