<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _receive(self, sock, count):
 """Reads socket to receive data from zabbix server. :type socket: :class:`socket._socketobject` :param socket: Socket to read. :type count: int :param count: Number of bytes to read from socket. """


        buf = b''

        while len(buf) < count:
            chunk = sock.recv(count - len(buf))
            if not chunk:
                break
            buf += chunk

        return buf