Make numberOfConnectionsInLastMinute method static