Fix spcount