Crossed modules and counting invariants for welded knots