Cant figure out how to write xpath in python in selinium

  python, selenium, selenium-webdriver, xpath

I have got this piece of html code:

<span class="amount ng-binding ng-scope" ng-if="object.numberOfReactions !== null">41</span>

I want to acces the 41 number by using driver.find_elements_by_xpath,
my best try is
driver.find_elements_by_xpath(//div[@ng.if='object.numberOfReactions !== null'])but this gives an empty list []. Help would be greatly appreciated.

Source: Python Questions