<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def nl_recvmsgs_report(sk, cb):
 """Receive a set of messages from a Netlink socket and report parsed messages. https://github.com/thom311/libnl/blob/libnl3_2_25/lib/nl.c#L998 This function is identical to nl_recvmsgs() to the point that it will return the number of parsed messages instead of 0 on success. See nl_recvmsgs(). Positional arguments: sk -- Netlink socket (nl_sock class instance). cb -- set of callbacks to control behaviour (nl_cb class instance). Returns: Number of received messages or a negative error code from nl_recv(). """

    if cb.cb_recvmsgs_ow:
        return int(cb.cb_recvmsgs_ow(sk, cb))
    return int(recvmsgs(sk, cb))