<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def seat_button_count(self):
 		"""The total number of buttons pressed on all devices on 		the associated seat after the the event was triggered. 		For events that are not of type 		:attr:`~libinput.constant.EventType.TABLET_TOOL_BUTTON`, this property 		raises :exc:`AttributeError`. 		Returns: 			int: The seat wide pressed button count for the key of this event. 		"""


		if self.type != EventType.TABLET_TOOL_BUTTON:
			raise AttributeError(_wrong_prop.format(self.type))
		return self._libinput.libinput_event_tablet_tool_get_seat_button_count(
			self._handle)