Bkper fetches the data in cells A3:B7, =sum(B4:B7) on B8 to get the Total income.

Note: The query is for July last year to July this year you can change it to your financial year. Note: Queries can be relative to the moment they are ran, by using variables group:"Income" after:7/$y-1 before:07/$y , this can be better as you do not need to change your queries each time you run them.