FIX: forgotten bind to get_available_packet_count to be able to call get...

..._var only if needed and avoid editor errors (Closes: #480)