Need some help with my code(Begginner)

Just started coding with solidity and don’t know what’s the problem with my code, if anyone could help please. Thanks.

//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract Counter {

uint[] public numeros = [1, 2, 3, 4, 5];

function countnumbers(uint counter) public view return(uint){
        counter = 0;
    for (i = 0, i > numeros.lenght, 1++){
           if (numeros(0) % 2 != 0){
            counter ++ ;
           }
        return counter
    }   
}

}

//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract Counter {

    uint[] public numeros = [1, 2, 3, 4, 5];
    uint public counter = 0;

    function countNumbers() public returns(uint) {

        for (uint i = 0; i < numeros.length; i++){
            if ((numeros[i] % 2) != 0){
                counter++;
            }
        }
        return counter; 
    }
}

You made some syntax mistakes and if you want to see the return value you can check the output of the contract at the terminal.

Thank you very much, i made lots of mistakes… just my first week learning.