Template:List of killings by law enforcement officers in the United States Annual Total/doc

Usage
This provides a total of the number of rows in the List of killings by law enforcement officers in the United States for a year that has up to 12 monthly articles (i.e. those since and including 2012).

It takes one required parameter, the year a total is sought for. If no valid parameter is given, it will return 0. If a year does not have articles for all the months (e.g. it is the current year, and not December) 0s will be used for the missing months.

Examples

 * produces:


 * produces:


 * (2011 doesn't have monthly lists) produces:


 * (far into the future, those lists doesn't exist) produces: