common: initiate write_queue_count with 0
style: remove whitespace