Загрузка данных
import requests url = "https://httpbin.org/forms/post" html = requests.get(url).text count = html.lower().count("<input") count -= html.lower().count('type="submit"') count -= html.lower().count("type=submit") print(count)