I am struggling with the following problem:
I've got a form with two textboxes ( first for entering a word and second for entering the URL link). Basically the user has to enter any word and a webpage link. The program should accept user input and search for entered word in entered website and count number of occurencies of that particular word. The result should be stored in a database (SQLite) as the following example:

Keyword Website Count
animal google.com 5

Any ideas how can I do that? I would appreciate any examples with the functionality I need. Thanks in advance.