Multiple if Statments issue : I am having a problem with multiple if statements. I am using && but it seems to only work for the first statement.
The code is like such:

<!-- begin snippet: js hide: false console: true babel: false -->

<!-- language: lang-html -->

    global $post;
    $args = array( 'post_id' => $post->ID );
    $comment = get_comments( $args );
    $user = wp_get_current_user();
    if ( 3 <= count( $comment ) && $post->post_author == $user->ID) {
        echo do_shortcode( '[button]' );
    } else {
        comment_form();
    }

<!-- end snippet -->

It basically stats that if there is less than 3 comments then show the comment form but if there is more than 3 and is the post author then show a button. The button shows but only if there are more than 3 comments. It doesn't check if it is only the post author or not, like i want it to.