<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 event was triggered. 		For pointer events that are not of type 		:attr:`~libinput.constant.EventType.POINTER_BUTTON`, this property 		raises :exc:`AssertionError`. 		Returns: 			int: The seat wide pressed button count for the key of this event. 		Raises: 			AssertionError 		"""


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