We just had a similar issue
64269.789 Error MainLoop.cpp:1207: Exception at tick 14158759: The mod Additional Paste Settings (0.9.0) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event additional-paste-settings::additional-paste-settings-hotkey (ID 167)
'count': real number expected got nil.
stack traceback:
additional-paste-settings/control.lua:287: in function '?'
additional-paste-settings/control.lua:419: in function <additional-paste-settings/control.lua:403>
stack traceback:
[C]: in function 'set_signal'
additional-paste-settings/control.lua:287: in function '?'
additional-paste-settings/control.lua:419: in function <additional-paste-settings/control.lua:403>