There is no fixed line count; it varies by edition (Folio vs. Quarto), editorial lineation, inclusion of stage directions, and prose/verse formatting.
Standard scholarly estimate: ~3,900–4,000 lines (making it Shakespeare's longest play).
For citation, always reference your specific edition (act.scene.line).